awacke1 commited on
Commit
b5f843a
·
1 Parent(s): b4dc760

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def generate_filename(prompt, file_type):
151
  return f"{safe_date_time}_{safe_prompt}.{file_type}"
152
 
153
  # Chat and Chat with files
154
- async def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):
155
  model = model_choice
156
  conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
157
  conversation.append({'role': 'user', 'content': prompt})
 
151
  return f"{safe_date_time}_{safe_prompt}.{file_type}"
152
 
153
  # Chat and Chat with files
154
+ def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):
155
  model = model_choice
156
  conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]
157
  conversation.append({'role': 'user', 'content': prompt})