Spaces:
Sleeping
Sleeping
anhdt-dsai-02
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ app.add_middleware(
|
|
21 |
allow_headers=["*"],
|
22 |
)
|
23 |
@app.post("/geminiv2")
|
24 |
-
async def geminiv2(data: Text
|
25 |
try:
|
26 |
result = await complete_gemini_async((data.ques, data.ans), data.key)
|
27 |
return result
|
|
|
21 |
allow_headers=["*"],
|
22 |
)
|
23 |
@app.post("/geminiv2")
|
24 |
+
async def geminiv2(data: Text):
|
25 |
try:
|
26 |
result = await complete_gemini_async((data.ques, data.ans), data.key)
|
27 |
return result
|