Update main.py
Browse files
main.py
CHANGED
|
@@ -147,7 +147,7 @@ async def make_slideshow(request: SlideshowRequest):
|
|
| 147 |
raise HTTPException(status_code=500, detail="Failed to create slideshow")
|
| 148 |
|
| 149 |
# Return URL to the video
|
| 150 |
-
base_url = "/static"
|
| 151 |
video_url = f"{base_url}/{request_id}/slideshow.mp4"
|
| 152 |
return {"url": video_url}
|
| 153 |
|
|
|
|
| 147 |
raise HTTPException(status_code=500, detail="Failed to create slideshow")
|
| 148 |
|
| 149 |
# Return URL to the video
|
| 150 |
+
base_url = "https://saq1b-api.hf.space/static"
|
| 151 |
video_url = f"{base_url}/{request_id}/slideshow.mp4"
|
| 152 |
return {"url": video_url}
|
| 153 |
|