Spaces:
Runtime error
Runtime error
Commit
•
3891e74
1
Parent(s):
03812ec
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ Create a GIF of a 'Technical Difficulties' television program interruption. The
|
|
34 |
# Create a Gradio interface
|
35 |
iface = gr.Interface(
|
36 |
fn=generate_gif, # The function to call when the user interacts with the interface
|
37 |
-
inputs=gr.Textbox(lines=10, placeholder="Enter your custom prompt here or use the default template",
|
38 |
outputs="file", # Output will be a file (the generated GIF)
|
39 |
title="Structured Prompt GIF Generator", # Title of the interface
|
40 |
description="Generate GIFs from text prompts using the Hotshot-XL model. Customize the prompt or use the default template to generate GIFs.", # Description of the interface
|
@@ -46,3 +46,4 @@ iface = gr.Interface(
|
|
46 |
|
47 |
# Launch the Gradio interface
|
48 |
iface.launch()
|
|
|
|
34 |
# Create a Gradio interface
|
35 |
iface = gr.Interface(
|
36 |
fn=generate_gif, # The function to call when the user interacts with the interface
|
37 |
+
inputs=gr.Textbox(lines=10, placeholder="Enter your custom prompt here or use the default template", value=prompt_template), # Input textbox for the prompt
|
38 |
outputs="file", # Output will be a file (the generated GIF)
|
39 |
title="Structured Prompt GIF Generator", # Title of the interface
|
40 |
description="Generate GIFs from text prompts using the Hotshot-XL model. Customize the prompt or use the default template to generate GIFs.", # Description of the interface
|
|
|
46 |
|
47 |
# Launch the Gradio interface
|
48 |
iface.launch()
|
49 |
+
|