Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def greet_json():
|
|
| 18 |
|
| 19 |
@app.get("/versionStatus")
|
| 20 |
def versionStatus(request_id: str):
|
| 21 |
-
status = fal_client.status("fal-ai/instant-character", request_id)
|
| 22 |
return(status)
|
| 23 |
|
| 24 |
@app.get("/versionResult")
|
|
@@ -99,7 +99,7 @@ async def make_video(image: UploadFile = File(...)):
|
|
| 99 |
|
| 100 |
@app.get("/videoStatus")
|
| 101 |
def videoStatus(request_id: str):
|
| 102 |
-
status = fal_client.status("fal-ai/kling-video/v1.6/pro/image-to-video", request_id)
|
| 103 |
return(status)
|
| 104 |
|
| 105 |
@app.get("/videoResult")
|
|
|
|
| 18 |
|
| 19 |
@app.get("/versionStatus")
|
| 20 |
def versionStatus(request_id: str):
|
| 21 |
+
status = fal_client.status("fal-ai/instant-character", request_id, with_logs=True)
|
| 22 |
return(status)
|
| 23 |
|
| 24 |
@app.get("/versionResult")
|
|
|
|
| 99 |
|
| 100 |
@app.get("/videoStatus")
|
| 101 |
def videoStatus(request_id: str):
|
| 102 |
+
status = fal_client.status("fal-ai/kling-video/v1.6/pro/image-to-video", request_id, with_logs=True)
|
| 103 |
return(status)
|
| 104 |
|
| 105 |
@app.get("/videoResult")
|