Spaces:
Runtime error
Runtime error
Update app.py
Browse files495 unmodified lines49649749849950050150281 unmodified lines584585586587588589590591232 unmodified lines824825826827495 unmodified lines# Create the Gradio appdef create_app():with gr.Blocks(css=CUSTOM_CSS, title="AI Assistant", theme=gr.themes.Soft()) as app:# State variablescurrent_user = gr.State(None)current_chat_id = gr.State(None)81 unmodified lineslabel="Conversation",height=500,show_label=False,elem_classes=["chat-container"],type="messages")with gr.Row():232 unmodified linesif __name__ == "__main__":app = create_app()app.launch(server_name="0.0.0.0", server_port=7860)495 unmodified lines49649749849950050150281 unmodified lines584585586587588589590232 unmodified lines823824825826495 unmodified lines# Create the Gradio appdef create_app():with gr.Blocks(title="AI Assistant") as app:# State variablescurrent_user = gr.State(None)current_chat_id = gr.State(None)81 unmodified lineslabel="Conversation",height=500,show_label=False,elem_classes=["chat-container"])with gr.Row():232 unmodified linesif __name__ == "__main__":app = create_app()app.launch(server_name="0.0.0.0", server_port=7860, css=CUSTOM_CSS, theme=gr.themes.Soft())
app.py+3-4