Spaces:
Sleeping
Sleeping
Muhammad Waqas
commited on
Commit
·
9cb19b8
1
Parent(s):
f24ada4
Added: Generate image to video
Browse files
app.py
CHANGED
|
@@ -213,7 +213,7 @@ def image_to_video():
|
|
| 213 |
|
| 214 |
# Handle uploaded image or base64-encoded image
|
| 215 |
image_file = request.files.get('image')
|
| 216 |
-
base64_image = data
|
| 217 |
|
| 218 |
if image_file:
|
| 219 |
# Validate and save uploaded image
|
|
|
|
| 213 |
|
| 214 |
# Handle uploaded image or base64-encoded image
|
| 215 |
image_file = request.files.get('image')
|
| 216 |
+
base64_image = data['base64_image']
|
| 217 |
|
| 218 |
if image_file:
|
| 219 |
# Validate and save uploaded image
|