Spaces:
Runtime error
Runtime error
Commit
·
54ae4c0
1
Parent(s):
7e28fee
Added app.py file
Browse files
app.py
CHANGED
@@ -255,7 +255,7 @@ def fetch_image_object(ipfs_image_id):
|
|
255 |
print(f"HTTP Code:{response.status_code} - {content_type} - IPFS ID:{ipfs_image_id}")
|
256 |
return None
|
257 |
|
258 |
-
if
|
259 |
rows=3
|
260 |
cols=3
|
261 |
img_count = 0
|
|
|
255 |
print(f"HTTP Code:{response.status_code} - {content_type} - IPFS ID:{ipfs_image_id}")
|
256 |
return None
|
257 |
|
258 |
+
if not IS_HF_SPACE:
|
259 |
rows=3
|
260 |
cols=3
|
261 |
img_count = 0
|