awacke1 commited on
Commit
fd0d756
·
verified ·
1 Parent(s): 1d33d1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -187,17 +187,18 @@ def search_glossary(query):
187
  filename = generate_filename(query + ' --- ' + response, "md")
188
  create_file(filename, query, response, should_save)
189
 
190
- st.write('## 🔍 Running with Llama.') # -------------------------------------------------------------------------------------------------
191
- response2 = StreamLLMChatResponse(query)
192
  #st.write(response2)
193
 
194
- filename_txt = generate_filename(query + ' --- ' + response2, "md")
195
- create_file(filename_txt, query, response2, should_save)
196
 
197
- all = '# Query: ' + query + '# Response: ' + response + '# Response2: ' + response2
 
198
 
199
- filename_txt2 = generate_filename(query + ' --- ' + all, "md")
200
- create_file(filename_txt2, query, all, should_save)
201
 
202
  SpeechSynthesis(all)
203
  return all
 
187
  filename = generate_filename(query + ' --- ' + response, "md")
188
  create_file(filename, query, response, should_save)
189
 
190
+ #st.write('## 🔍 Running with Llama.') # -------------------------------------------------------------------------------------------------
191
+ #response2 = StreamLLMChatResponse(query)
192
  #st.write(response2)
193
 
194
+ #filename_txt = generate_filename(query + ' --- ' + response2, "md")
195
+ #create_file(filename_txt, query, response2, should_save)
196
 
197
+ #all = '# Query: ' + query + '# Response: ' + response + '# Response2: ' + response2
198
+ all = '# Query: ' + query + '# Response: ' + response
199
 
200
+ #filename_txt2 = generate_filename(query + ' --- ' + all, "md")
201
+ #create_file(filename_txt2, query, all, should_save)
202
 
203
  SpeechSynthesis(all)
204
  return all