Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
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')
|