awacke1 commited on
Commit
5a92063
1 Parent(s): c37b751

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -379,7 +379,7 @@ def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):
379
  report = []
380
  res_box = st.empty()
381
  collected_chunks = []
382
- collected_messages =
383
  st.write('Running prompt with ' + model)
384
  for chunk in openai.ChatCompletion.create(model='gpt-3.5-turbo', messages=conversation, temperature=0.5, stream=True):
385
  collected_chunks.append(chunk)
 
379
  report = []
380
  res_box = st.empty()
381
  collected_chunks = []
382
+ collected_messages = []
383
  st.write('Running prompt with ' + model)
384
  for chunk in openai.ChatCompletion.create(model='gpt-3.5-turbo', messages=conversation, temperature=0.5, stream=True):
385
  collected_chunks.append(chunk)