sayakpaul HF Staff commited on
Commit
452391a
·
1 Parent(s): 6684d62
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def push_to_hub(repo_id, filename, oauth_token: gr.OAuthToken, progress=gr.Progr
30
  if torch.cuda.is_available():
31
  torch.cuda.synchronize()
32
  end = time.perf_counter()
33
- print(f"Compilation took: {start - time} seconds.")
34
 
35
  token = oauth_token.token
36
  out = _push_compiled_graph_to_hub(
 
30
  if torch.cuda.is_available():
31
  torch.cuda.synchronize()
32
  end = time.perf_counter()
33
+ print(f"Compilation took: {start - end} seconds.")
34
 
35
  token = oauth_token.token
36
  out = _push_compiled_graph_to_hub(