Spanicin commited on
Commit
f6138ad
1 Parent(s): b07f9ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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']