Spaces:
Running
Running
Qi Cai commited on
Commit ·
16c7ac4
1
Parent(s): 3936f11
update
Browse files- app.py +2 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -756,7 +756,8 @@ def create_ui():
|
|
| 756 |
fn=generate_with_status,
|
| 757 |
inputs=[prompt, wh_ratio],
|
| 758 |
outputs=[output_image, status_msg],
|
| 759 |
-
show_progress="
|
|
|
|
| 760 |
)
|
| 761 |
|
| 762 |
def clear_outputs():
|
|
|
|
| 756 |
fn=generate_with_status,
|
| 757 |
inputs=[prompt, wh_ratio],
|
| 758 |
outputs=[output_image, status_msg],
|
| 759 |
+
show_progress="minimal",
|
| 760 |
+
show_progress_on=[generate_btn],
|
| 761 |
)
|
| 762 |
|
| 763 |
def clear_outputs():
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio>=
|
| 2 |
requests>=2.28.0
|
| 3 |
Pillow>=9.0.0
|
| 4 |
python-dotenv>=1.0.0
|
|
|
|
| 1 |
+
gradio>=5.0.0
|
| 2 |
requests>=2.28.0
|
| 3 |
Pillow>=9.0.0
|
| 4 |
python-dotenv>=1.0.0
|