reach-vb HF staff commited on
Commit
cd508d0
1 Parent(s): 01dcf71

Update app.py (#9)

Browse files

- Update app.py (e169fcfea2d3065acb4ff118c434b78da4bb0d78)

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ HF_TOKEN = os.environ.get("HF_WRITE_TOKEN")
19
  DATADIR = "exporters_data"
20
 
21
  repo: Optional[Repository] = None
22
- if HF_TOKEN:
23
- repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
24
 
25
 
26
  def onnx_export(token: str, model_id: str, task: str, opset: Union[int, str]) -> str:
 
19
  DATADIR = "exporters_data"
20
 
21
  repo: Optional[Repository] = None
22
+ # if HF_TOKEN:
23
+ # repo = Repository(local_dir=DATADIR, clone_from=DATASET_REPO_URL, token=HF_TOKEN)
24
 
25
 
26
  def onnx_export(token: str, model_id: str, task: str, opset: Union[int, str]) -> str: