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

Update app.py

Browse files
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: