Spaces:
Paused
Paused
Update gradio_app.py
Browse files- gradio_app.py +5 -1
gradio_app.py
CHANGED
@@ -106,6 +106,10 @@ def run_inference(user_prompt, guidance_scale, num_sampling_steps, seed, enable_
|
|
106 |
return result_path
|
107 |
|
108 |
css="""
|
|
|
|
|
|
|
|
|
109 |
div#warning-ready {
|
110 |
background-color: #ecfdf5;
|
111 |
padding: 0 16px 16px;
|
@@ -171,7 +175,7 @@ div#warning-setsleeptime {
|
|
171 |
|
172 |
# Create Gradio interface
|
173 |
with gr.Blocks(css=css) as demo:
|
174 |
-
with gr.Column():
|
175 |
gr.Markdown("# Allegro Video Generation")
|
176 |
gr.Markdown("Generate a video based on a text prompt using the Allegro pipeline.")
|
177 |
with gr.Row():
|
|
|
106 |
return result_path
|
107 |
|
108 |
css="""
|
109 |
+
div#col-container{
|
110 |
+
margin: 0 auto;
|
111 |
+
max-width: 800px;
|
112 |
+
}
|
113 |
div#warning-ready {
|
114 |
background-color: #ecfdf5;
|
115 |
padding: 0 16px 16px;
|
|
|
175 |
|
176 |
# Create Gradio interface
|
177 |
with gr.Blocks(css=css) as demo:
|
178 |
+
with gr.Column(elem_id="col-container"):
|
179 |
gr.Markdown("# Allegro Video Generation")
|
180 |
gr.Markdown("Generate a video based on a text prompt using the Allegro pipeline.")
|
181 |
with gr.Row():
|