Charreau Bell, Ph.D commited on
Commit
5b4fa55
·
1 Parent(s): fc5ed91

updated auto hf push action for dsi space

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +10 -11
app.py CHANGED
@@ -71,7 +71,7 @@ if authentication_status:
71
  if st.button("Submit"):
72
  if api_input:
73
  os.environ["OPENAI_API_KEY"] = api_input
74
- chat_mdl = ChatOpenAI(model_name = 'gpt-4', temperature=0.1)
75
 
76
  if chat_mdl is not None:
77
  if user_data is None:
@@ -109,4 +109,4 @@ elif authentication_status is None:
109
  st.error(e)
110
 
111
  with open('config.yaml', 'w') as file:
112
- yaml.dump(config, file, default_flow_style=False)
 
71
  if st.button("Submit"):
72
  if api_input:
73
  os.environ["OPENAI_API_KEY"] = api_input
74
+ chat_mdl = ChatOpenAI(model_name = 'gpt-3.5-turbo-16k', temperature=0.1)
75
 
76
  if chat_mdl is not None:
77
  if user_data is None:
 
109
  st.error(e)
110
 
111
  with open('config.yaml', 'w') as file:
112
+ yaml.dump(config, file, default_flow_style=False)
requirements.txt CHANGED
@@ -1,11 +1,10 @@
1
- streamlit
2
- streamlit_authenticator
3
- pyyaml
4
- langchain
5
- openai
6
- chromadb
7
- tiktoken
8
- unstructured
9
- getpass4
10
- nltk
11
- free_speech_app @ git+https://github.com/vanderbilt-data-science/free-speech-app.git
 
1
+ streamlit
2
+ sqlite3
3
+ yaml
4
+ langchain
5
+ openai
6
+ chromadb
7
+ tiktoken
8
+ unstructured
9
+ getpass
10
+ nltk