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,