Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def ensure_flash_attn():
|
|
| 22 |
ensure_flash_attn()
|
| 23 |
from inferencer import UniPicV2Inferencer
|
| 24 |
|
| 25 |
-
configure_http_backend(
|
| 26 |
model_path = snapshot_download(repo_id="Skywork/UniPic2-Metaquery-GRPO-9B")
|
| 27 |
qwen_vl_path = snapshot_download(repo_id="Qwen/Qwen2.5-VL-7B-Instruct-AWQ")
|
| 28 |
|
|
|
|
| 22 |
ensure_flash_attn()
|
| 23 |
from inferencer import UniPicV2Inferencer
|
| 24 |
|
| 25 |
+
configure_http_backend("httpx", timeout=60.0)
|
| 26 |
model_path = snapshot_download(repo_id="Skywork/UniPic2-Metaquery-GRPO-9B")
|
| 27 |
qwen_vl_path = snapshot_download(repo_id="Qwen/Qwen2.5-VL-7B-Instruct-AWQ")
|
| 28 |
|