Prudvireddy commited on
Commit
c88d358
1 Parent(s): 85f21f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def generate_video(topic, openai_api_key, stabilityai_api_key, user_mail):
23
  )
24
  result = crew.kickoff(inputs={'topic': topic, 'model' : model})
25
  if 'tmp' in result:
26
- result = final_video_filename.split('/')[-1]
27
  send_mail(user_mail, result)
28
  return result
29
 
 
23
  )
24
  result = crew.kickoff(inputs={'topic': topic, 'model' : model})
25
  if 'tmp' in result:
26
+ result = result.split('/')[-1]
27
  send_mail(user_mail, result)
28
  return result
29