Spaces:
Running
on
Zero
Running
on
Zero
up
Browse files
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 -
|
| 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(
|