awacke1 commited on
Commit
7648282
1 Parent(s): df426d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -131,11 +131,12 @@ def search_glossary(query, roleplaying_glossary):
131
  st.write(response)
132
  filename = generate_filename(response, "txt")
133
  create_file(filename, query, query + ' --- ' + response, should_save)
134
-
135
- st.write('Reasoning with your inputs using Llama...')
136
- response = StreamLLMChatResponse(query)
137
- filename_txt = generate_filename(query, "md")
138
- create_file(filename_txt, query, query + ' --- ' + response, should_save)
 
139
  # ------------------------------------------------------------------------------------------------
140
 
141
 
 
131
  st.write(response)
132
  filename = generate_filename(response, "txt")
133
  create_file(filename, query, query + ' --- ' + response, should_save)
134
+
135
+ if st.checkbox('Llama'):
136
+ st.write('Reasoning with your inputs using Llama...')
137
+ response = StreamLLMChatResponse(query)
138
+ filename_txt = generate_filename(query, "md")
139
+ create_file(filename_txt, query, query + ' --- ' + response, should_save)
140
  # ------------------------------------------------------------------------------------------------
141
 
142