Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -225,6 +225,7 @@ def translate_text(text_prompt, target_language):
|
|
225 |
async def generate_video():
|
226 |
global TEMP_DIR
|
227 |
TEMP_DIR = create_temp_dir()
|
|
|
228 |
if request.method == 'POST':
|
229 |
source_image = request.files['source_image']
|
230 |
text_prompt = request.form['text_prompt']
|
|
|
225 |
async def generate_video():
|
226 |
global TEMP_DIR
|
227 |
TEMP_DIR = create_temp_dir()
|
228 |
+
print('request:',request.method)
|
229 |
if request.method == 'POST':
|
230 |
source_image = request.files['source_image']
|
231 |
text_prompt = request.form['text_prompt']
|