awacke1 commited on
Commit
85394fe
·
1 Parent(s): 19f9104

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -557,14 +557,14 @@ def main():
557
  st.write('Reasoning with your inputs...')
558
 
559
  # new - llama
560
- #response = StreamLLMChatResponse(user_prompt + file_contents)
561
- #filename = generate_filename(transcription, ".txt")
562
- #create_file(filename, transcription, response, should_save)
563
 
564
  # old - gpt
565
- response = chat_with_model(user_prompt, file_contents, model_choice)
566
- filename = generate_filename(file_contents, choice)
567
- create_file(filename, user_prompt, response, should_save)
568
 
569
  st.experimental_rerun()
570
 
 
557
  st.write('Reasoning with your inputs...')
558
 
559
  # new - llama
560
+ response = StreamLLMChatResponse(file_contents)
561
+ filename = generate_filename(user_prompt, ".txt")
562
+ create_file(filename, response, '', should_save)
563
 
564
  # old - gpt
565
+ #response = chat_with_model(user_prompt, file_contents, model_choice)
566
+ #filename = generate_filename(file_contents, choice)
567
+ #create_file(filename, user_prompt, response, should_save)
568
 
569
  st.experimental_rerun()
570