Spaces:
Runtime error
Runtime error
Update app.py
Browse files150 unmodified lines151152153154155156157150 unmodified linesreturn f"{safe_date_time}_{safe_prompt}.{file_type}"# Chat and Chat with filesdef chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):model = model_choiceconversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]conversation.append({'role': 'user', 'content': prompt})150 unmodified lines151152153154155156157150 unmodified linesreturn f"{safe_date_time}_{safe_prompt}.{file_type}"# Chat and Chat with filesasync def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'):model = model_choiceconversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}]conversation.append({'role': 'user', 'content': prompt})
app.py+1-1