Aiswarya Sankar commited on
Commit
d127f4b
·
1 Parent(s): 4a3e167

Clean code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def index_repo(textbox: str, dropdown: str) -> Response:
126
  runtime = {"tensor_db": True}
127
  )
128
  except Exception as e:
129
- print(str(e))
130
  if "scheduled for deletion" in str(e):
131
  dataset_path = f"hub://{activeloop_username}/" + pathName + str(random.randint(1,100))
132
 
 
126
  runtime = {"tensor_db": True}
127
  )
128
  except Exception as e:
129
+ print("Failed to read: " + str(e))
130
  if "scheduled for deletion" in str(e):
131
  dataset_path = f"hub://{activeloop_username}/" + pathName + str(random.randint(1,100))
132