Spanicin commited on
Commit
aa4356e
·
verified ·
1 Parent(s): 80d7905

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -301,9 +301,9 @@ def generate_video():
301
  text_prompt = request.form['text_prompt']
302
 
303
  print('Input text prompt: ',text_prompt)
304
- text_prompt = text_prompt.strip()
305
- if not text_prompt:
306
- return jsonify({'error': 'Input text prompt cannot be blank'}), 400
307
 
308
  voice_cloning = request.form.get('voice_cloning', 'no')
309
  target_language = request.form.get('target_language', 'original_text')
 
301
  text_prompt = request.form['text_prompt']
302
 
303
  print('Input text prompt: ',text_prompt)
304
+ # text_prompt = text_prompt.strip()
305
+ # if not text_prompt:
306
+ # return jsonify({'error': 'Input text prompt cannot be blank'}), 400
307
 
308
  voice_cloning = request.form.get('voice_cloning', 'no')
309
  target_language = request.form.get('target_language', 'original_text')