awacke1 commited on
Commit
8e28b1f
1 Parent(s): ff5e856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -64,16 +64,16 @@ def search_glossary(query):
64
  st.write('## Processing query against GPT and Llama:')
65
  # ------------------------------------------------------------------------------------------------
66
  st.write('Reasoning with your inputs using GPT...')
67
- response = chat_with_model(transcript)
68
  st.write('Response:')
69
  st.write(response)
70
  filename = generate_filename(response, "txt")
71
- create_file(filename, transcript, response, should_save)
72
 
73
  st.write('Reasoning with your inputs using Llama...')
74
- response = StreamLLMChatResponse(transcript)
75
- filename_txt = generate_filename(transcript, "md")
76
- create_file(filename_txt, transcript, response, should_save)
77
  # ------------------------------------------------------------------------------------------------
78
 
79
 
 
64
  st.write('## Processing query against GPT and Llama:')
65
  # ------------------------------------------------------------------------------------------------
66
  st.write('Reasoning with your inputs using GPT...')
67
+ response = chat_with_model(query)
68
  st.write('Response:')
69
  st.write(response)
70
  filename = generate_filename(response, "txt")
71
+ create_file(filename, query, response, should_save)
72
 
73
  st.write('Reasoning with your inputs using Llama...')
74
+ response = StreamLLMChatResponse(query)
75
+ filename_txt = generate_filename(query, "md")
76
+ create_file(filename_txt, query, response, should_save)
77
  # ------------------------------------------------------------------------------------------------
78
 
79