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