Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -115,14 +115,14 @@ def search_glossary(query, roleplaying_glossary):
|
|
115 |
all=""
|
116 |
st.write('🔍Running with GPT.') # -------------------------------------------------------------------------------------------------
|
117 |
response = chat_with_model(query)
|
118 |
-
st.write(response)
|
119 |
|
120 |
filename = generate_filename(query + ' --- ' + response, "md")
|
121 |
create_file(filename, query, query + ' --- ' + response, should_save)
|
122 |
|
123 |
st.write('🔍Running with Llama.') # -------------------------------------------------------------------------------------------------
|
124 |
response2 = StreamLLMChatResponse(query)
|
125 |
-
st.write(response2)
|
126 |
|
127 |
filename_txt = generate_filename(query + ' --- ' + response2, "md")
|
128 |
create_file(filename_txt, query, query + ' --- ' + response2, should_save)
|
|
|
115 |
all=""
|
116 |
st.write('🔍Running with GPT.') # -------------------------------------------------------------------------------------------------
|
117 |
response = chat_with_model(query)
|
118 |
+
#st.write(response)
|
119 |
|
120 |
filename = generate_filename(query + ' --- ' + response, "md")
|
121 |
create_file(filename, query, query + ' --- ' + response, should_save)
|
122 |
|
123 |
st.write('🔍Running with Llama.') # -------------------------------------------------------------------------------------------------
|
124 |
response2 = StreamLLMChatResponse(query)
|
125 |
+
#st.write(response2)
|
126 |
|
127 |
filename_txt = generate_filename(query + ' --- ' + response2, "md")
|
128 |
create_file(filename_txt, query, query + ' --- ' + response2, should_save)
|