Update gradio_app.py
Browse files- gradio_app.py +2 -0
gradio_app.py
CHANGED
|
@@ -337,6 +337,8 @@ if __name__=="__main__":
|
|
| 337 |
if mvimg_model == 'ImageDream':
|
| 338 |
# input prompt
|
| 339 |
text = gr.Textbox(label="Prompt (Opt.)", info="only works for ImageDream")
|
|
|
|
|
|
|
| 340 |
|
| 341 |
with gr.Accordion('Advanced options', open=False):
|
| 342 |
# negative prompt
|
|
|
|
| 337 |
if mvimg_model == 'ImageDream':
|
| 338 |
# input prompt
|
| 339 |
text = gr.Textbox(label="Prompt (Opt.)", info="only works for ImageDream")
|
| 340 |
+
else:
|
| 341 |
+
text = gr.Textbox(label="Prompt (Opt.)", visible=False)
|
| 342 |
|
| 343 |
with gr.Accordion('Advanced options', open=False):
|
| 344 |
# negative prompt
|