konerusudhir commited on
Commit
54ae4c0
·
1 Parent(s): 7e28fee

Added app.py file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 IS_COLAB:
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