Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -98,19 +98,19 @@ def main():
|
|
98 |
)
|
99 |
|
100 |
with gr.Row():
|
101 |
-
with gr.Column(
|
102 |
model_dropdown = gr.Dropdown(
|
103 |
choices=[
|
104 |
"OpenSora-v1-16x256x256.pth",
|
105 |
"OpenSora-v1-HQ-16x256x256.pth",
|
106 |
"OpenSora-v1-HQ-16x512x512.pth"
|
107 |
],
|
108 |
-
|
109 |
)
|
110 |
-
prompt_text = gr.Textbox(
|
111 |
submit_button = gr.Button("Run Inference")
|
112 |
|
113 |
-
with gr.Column(
|
114 |
output_video = gr.Video()
|
115 |
|
116 |
submit_button.click(
|
|
|
98 |
)
|
99 |
|
100 |
with gr.Row():
|
101 |
+
with gr.Column():
|
102 |
model_dropdown = gr.Dropdown(
|
103 |
choices=[
|
104 |
"OpenSora-v1-16x256x256.pth",
|
105 |
"OpenSora-v1-HQ-16x256x256.pth",
|
106 |
"OpenSora-v1-HQ-16x512x512.pth"
|
107 |
],
|
108 |
+
value="OpenSora-v1-16x256x256.pth"
|
109 |
)
|
110 |
+
prompt_text = gr.Textbox(show_label=False, placeholder="Enter prompt text here", lines=4)
|
111 |
submit_button = gr.Button("Run Inference")
|
112 |
|
113 |
+
with gr.Column():
|
114 |
output_video = gr.Video()
|
115 |
|
116 |
submit_button.click(
|