kz-transformers commited on
Commit
ad2c91a
·
verified ·
1 Parent(s): 5299932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def submit_file(v, file_path, mn, profile: gr.OAuthProfile | None):
49
  buf.write(json.dumps(new_file).encode('utf-8'))
50
  API.upload_file(
51
  path_or_fileobj=buf,
52
- path_in_repo="model_data/external/" + profile.username + '__' + mn + ".json",
53
  repo_id="kz-transformers/s-openbench-eval",
54
  repo_type="dataset",
55
  )
 
49
  buf.write(json.dumps(new_file).encode('utf-8'))
50
  API.upload_file(
51
  path_or_fileobj=buf,
52
+ path_in_repo="model_data/external/" + profile.username + '__' + mn.replace('/', '__') + ".json",
53
  repo_id="kz-transformers/s-openbench-eval",
54
  repo_type="dataset",
55
  )