Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ MCP_URL = "https://mgokg-db-timetable-api.hf.space/gradio_api/mcp/"
|
|
| 10 |
|
| 11 |
async def fetch_train_connections(prompt: str):
|
| 12 |
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
|
| 13 |
-
model_id = "gemini-
|
| 14 |
|
| 15 |
# 1. Verbindung zum MCP-Server über SSE herstellen [3]
|
| 16 |
async with sse_client(url=MCP_URL) as (read_stream, write_stream):
|
|
|
|
| 10 |
|
| 11 |
async def fetch_train_connections(prompt: str):
|
| 12 |
client = genai.Client(api_key=os.environ.get("GEMINI_API_KEY"))
|
| 13 |
+
model_id = "gemini-flash-latest"
|
| 14 |
|
| 15 |
# 1. Verbindung zum MCP-Server über SSE herstellen [3]
|
| 16 |
async with sse_client(url=MCP_URL) as (read_stream, write_stream):
|