Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,13 +40,13 @@ def main():
|
|
40 |
gr.Interface(
|
41 |
fn=run_inference,
|
42 |
inputs=[
|
43 |
-
gr.Textbox(label="Configuration Path",
|
44 |
gr.Dropdown(choices=[
|
45 |
"OpenSora-v1-16x256x256.pth",
|
46 |
"OpenSora-v1-HQ-16x256x256.pth",
|
47 |
"OpenSora-v1-HQ-16x512x512.pth"
|
48 |
], label="Model Selection"),
|
49 |
-
gr.Textbox(label="Prompt Path",
|
50 |
],
|
51 |
outputs=[
|
52 |
gr.Text(label="Status"),
|
|
|
40 |
gr.Interface(
|
41 |
fn=run_inference,
|
42 |
inputs=[
|
43 |
+
gr.Textbox(label="Configuration Path", value="configs/opensora/inference/16x256x256.py"),
|
44 |
gr.Dropdown(choices=[
|
45 |
"OpenSora-v1-16x256x256.pth",
|
46 |
"OpenSora-v1-HQ-16x256x256.pth",
|
47 |
"OpenSora-v1-HQ-16x512x512.pth"
|
48 |
], label="Model Selection"),
|
49 |
+
gr.Textbox(label="Prompt Path", value="./assets/texts/t2v_samples.txt")
|
50 |
],
|
51 |
outputs=[
|
52 |
gr.Text(label="Status"),
|