Yonatan-Bitton roopalgarg commited on
Commit
b25273d
1 Parent(s): 82be472

Update app.py (#5)

Browse files

- Update app.py (5272a834ca142d4ec761f29b92d81ab7e2ab9e12)


Co-authored-by: Roopal Garg <roopalgarg@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ try:
19
  locnar_eval = load_dataset('google/imageinwords', token=auth_token, trust_remote_code=True, name="LocNar_Eval")
20
  cm_3600 = load_dataset('google/imageinwords', token=auth_token, trust_remote_code=True, name="CM_3600")
21
  except Exception as e:
22
- logging.error("could you fetch the datasets with error: %s", e)
23
 
24
  _SELECTOR_TO_DATASET = {
25
  "IIW-400": iiw_400,
 
19
  locnar_eval = load_dataset('google/imageinwords', token=auth_token, trust_remote_code=True, name="LocNar_Eval")
20
  cm_3600 = load_dataset('google/imageinwords', token=auth_token, trust_remote_code=True, name="CM_3600")
21
  except Exception as e:
22
+ raise ValueError("could you fetch the datasets with error: %s", e)
23
 
24
  _SELECTOR_TO_DATASET = {
25
  "IIW-400": iiw_400,