Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,7 +130,7 @@ async def invoke_gemini_agent(request: AgentRequest, token: str = Depends(oauth2
|
|
| 130 |
raise HTTPException(status_code=500, detail=str(e))
|
| 131 |
|
| 132 |
# --- Gradio UI (The Face) - No changes needed here ---
|
| 133 |
-
with gr.Blocks(
|
| 134 |
gr.Markdown("# 💎 Secure, Multi-User AI Agent (Upgraded)")
|
| 135 |
gr.Markdown("First, 'log in' with a User ID (e.g., 'user-a', 'user-b'). This will generate a secure token. Then, you can chat with the agent, and your conversation will be saved securely to your own user record in Supabase.")
|
| 136 |
|
|
|
|
| 130 |
raise HTTPException(status_code=500, detail=str(e))
|
| 131 |
|
| 132 |
# --- Gradio UI (The Face) - No changes needed here ---
|
| 133 |
+
with gr.Blocks() as demo:
|
| 134 |
gr.Markdown("# 💎 Secure, Multi-User AI Agent (Upgraded)")
|
| 135 |
gr.Markdown("First, 'log in' with a User ID (e.g., 'user-a', 'user-b'). This will generate a secure token. Then, you can chat with the agent, and your conversation will be saved securely to your own user record in Supabase.")
|
| 136 |
|