Spaces:
Runtime error
Runtime error
Update app.py
Browse files150 unmodified lines151152153154154155156157150 unmodified lines return 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'):async def chat_with_model(prompt, document_section, model_choice='gpt-3.5-turbo'): model = model_choice conversation = [{'role': 'system', 'content': 'You are a helpful assistant.'}] conversation.append({'role': 'user', 'content': prompt})app.py+1-1