Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
1d55f55
1
Parent(s):
35df55e
Update app.py
Browse files
app.py
CHANGED
@@ -310,7 +310,7 @@ async def convert_upload_file(file: UploadFile = File(...)):
|
|
310 |
),
|
311 |
)
|
312 |
|
313 |
-
return {content:text,metadate:completion.choices[0].message.content}
|
314 |
|
315 |
|
316 |
@app.get("/")
|
|
|
310 |
),
|
311 |
)
|
312 |
|
313 |
+
return {'content':text,'metadate':completion.choices[0].message.content}
|
314 |
|
315 |
|
316 |
@app.get("/")
|