upgrade gradio to fix http client exceptions
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +1 -1
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🏵️
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 4.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
license: cc-by-sa-4.0
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 4.11.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
license: cc-by-sa-4.0
|
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def process(
|
|
| 42 |
ensemble_size=ensemble_size,
|
| 43 |
denoising_steps=denoise_steps,
|
| 44 |
processing_res=processing_res,
|
| 45 |
-
batch_size=1,
|
| 46 |
show_progress_bar=True,
|
| 47 |
)
|
| 48 |
|
|
|
|
| 42 |
ensemble_size=ensemble_size,
|
| 43 |
denoising_steps=denoise_steps,
|
| 44 |
processing_res=processing_res,
|
| 45 |
+
batch_size=1 if processing_res == 0 else 0,
|
| 46 |
show_progress_bar=True,
|
| 47 |
)
|
| 48 |
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio==4.
|
| 2 |
gradio-imageslider==0.0.16
|
| 3 |
GitPython==3.1.40
|
| 4 |
pygltflib==1.16.1
|
|
|
|
| 1 |
+
gradio==4.11.0
|
| 2 |
gradio-imageslider==0.0.16
|
| 3 |
GitPython==3.1.40
|
| 4 |
pygltflib==1.16.1
|