Spaces:
Sleeping
Sleeping
Muhammad Waqas
commited on
Commit
·
f24ada4
1
Parent(s):
c4b000f
Added: Generate image to video
Browse files
app.py
CHANGED
|
@@ -207,7 +207,7 @@ def image_to_video():
|
|
| 207 |
# token = base64.b64decode(token).decode("utf-8")
|
| 208 |
|
| 209 |
# Extract text prompt
|
| 210 |
-
text_prompt = data
|
| 211 |
if not text_prompt:
|
| 212 |
return jsonify({'error': 'Text prompt is required'}), 400
|
| 213 |
|
|
|
|
| 207 |
# token = base64.b64decode(token).decode("utf-8")
|
| 208 |
|
| 209 |
# Extract text prompt
|
| 210 |
+
text_prompt = data['text_prompt']
|
| 211 |
if not text_prompt:
|
| 212 |
return jsonify({'error': 'Text prompt is required'}), 400
|
| 213 |
|