Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with demo:
|
|
93 |
|
94 |
# Rows of instructions & buttons
|
95 |
with gr.Row():
|
96 |
-
gr.Markdown("1. Select a type of story, then write some starting text! Then hit the 'Generate Story' button to generate a story!")
|
97 |
button_gen_story = gr.Button("Generate Story")
|
98 |
with gr.Row():
|
99 |
gr.Markdown("2. After generating a story, hit the 'Generate Images' button to create some visuals for your story! (Can re-run multiple times!)")
|
@@ -110,6 +110,10 @@ with demo:
|
|
110 |
|
111 |
with gr.Row():
|
112 |
gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=gradio-blocks_story_and_video_generation)")
|
|
|
|
|
|
|
|
|
113 |
|
114 |
# Bind functions to buttons
|
115 |
button_gen_story.click(fn=generate_story, inputs=[input_story_type , input_start_text], outputs=output_generated_story)
|
|
|
93 |
|
94 |
# Rows of instructions & buttons
|
95 |
with gr.Row():
|
96 |
+
gr.Markdown("1. Select a type of story, then write some starting text! Then hit the 'Generate Story' button to generate a story! Feel free to edit the generated story afterwards!")
|
97 |
button_gen_story = gr.Button("Generate Story")
|
98 |
with gr.Row():
|
99 |
gr.Markdown("2. After generating a story, hit the 'Generate Images' button to create some visuals for your story! (Can re-run multiple times!)")
|
|
|
110 |
|
111 |
with gr.Row():
|
112 |
gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=gradio-blocks_story_and_video_generation)")
|
113 |
+
gr.Markdown("Models Used:")
|
114 |
+
gr.Markdown("1: https://huggingface.co/pranavpsv/gpt2-genre-story-generator")
|
115 |
+
gr.Markdown("2: https://huggingface.co/spaces/multimodalart/latentdiffusion | https://github.com/CompVis/latent-diffusion")
|
116 |
+
gr.Markdown("3: https://huggingface.co/spaces/akhaliq/frame-interpolation | https://github.com/google-research/frame-interpolation")
|
117 |
|
118 |
# Bind functions to buttons
|
119 |
button_gen_story.click(fn=generate_story, inputs=[input_story_type , input_start_text], outputs=output_generated_story)
|