Spaces:
Runtime error
Runtime error
Commit
·
e531056
1
Parent(s):
3916a7e
Update app.py
Browse files
app.py
CHANGED
@@ -219,7 +219,7 @@ def get_output_video(text):
|
|
219 |
combine_audio(movie_name, export_path, movie_final) # create a new file
|
220 |
return 'result_final.mp4'
|
221 |
text ='Once, there was a girl called Laura who went to the supermarket to buy the ingredients to make a cake. Because today is her birthday and her friends come to her house and help her to prepare the cake.'
|
222 |
-
demo = gr.Blocks(
|
223 |
with demo:
|
224 |
gr.Markdown("# Video Generator from stories with Artificial Intelligence")
|
225 |
gr.Markdown("A story can be input by user. The story is summarized using DistillBART model. Then, then it is generated the images by using Dalle-mini and created the subtitles and audio gtts. These are generated as a video.")
|
|
|
219 |
combine_audio(movie_name, export_path, movie_final) # create a new file
|
220 |
return 'result_final.mp4'
|
221 |
text ='Once, there was a girl called Laura who went to the supermarket to buy the ingredients to make a cake. Because today is her birthday and her friends come to her house and help her to prepare the cake.'
|
222 |
+
demo = gr.Blocks()
|
223 |
with demo:
|
224 |
gr.Markdown("# Video Generator from stories with Artificial Intelligence")
|
225 |
gr.Markdown("A story can be input by user. The story is summarized using DistillBART model. Then, then it is generated the images by using Dalle-mini and created the subtitles and audio gtts. These are generated as a video.")
|