Spaces:
Runtime error
Runtime error
Prudvireddy
commited on
Commit
•
c88d358
1
Parent(s):
85f21f9
Update app.py
Browse files
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 =
|
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 |
|