Spanicin commited on
Commit
26ecc4a
1 Parent(s): 6e2fdc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -431,8 +431,8 @@ def generate_video():
431
  continue
432
 
433
  else:
434
- # response = openai_chat_avatar(text_prompt)
435
- # text_prompt = response.choices[0].message.content.strip()
436
  app.config['text_prompt'] = text_prompt
437
  print('Final output text prompt using openai: ',text_prompt)
438
 
 
431
  continue
432
 
433
  else:
434
+ response = openai_chat_avatar(text_prompt)
435
+ text_prompt = response.choices[0].message.content.strip()
436
  app.config['text_prompt'] = text_prompt
437
  print('Final output text prompt using openai: ',text_prompt)
438