muellerzr HF staff commited on
Commit
f013d9f
1 Parent(s): c60f7be

Move to current dir

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -12,11 +12,12 @@ REPO_ID = "muellerzr/bert-base-cased-tpu-accelerate-experiments"
12
 
13
  def download_logs():
14
  filename = "aim_logs.zip"
15
- _ = hf_hub_download(
16
  repo_id=REPO_ID,
17
  repo_type="model",
18
  filename=filename,
19
  )
 
20
  subprocess.run("unzip aim_logs.zip")
21
 
22
  def run_aim():
@@ -35,7 +36,7 @@ def main():
35
  demo = gr.Interface(
36
  fn=run,
37
  inputs=[],
38
- outputs=gr.HTML(html)
39
  )
40
 
41
  demo.launch()
 
12
 
13
  def download_logs():
14
  filename = "aim_logs.zip"
15
+ f = hf_hub_download(
16
  repo_id=REPO_ID,
17
  repo_type="model",
18
  filename=filename,
19
  )
20
+ subprocess.run(f'mv {f} .')
21
  subprocess.run("unzip aim_logs.zip")
22
 
23
  def run_aim():
 
36
  demo = gr.Interface(
37
  fn=run,
38
  inputs=[],
39
+ outputs=gr.HTML(html),
40
  )
41
 
42
  demo.launch()