Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
print out torch import section
Browse files
resources/app/no_server.py
CHANGED
|
@@ -50,6 +50,7 @@ try:
|
|
| 50 |
import tqdm
|
| 51 |
import regex
|
| 52 |
except:
|
|
|
|
| 53 |
with open("./DEBUG_err_import_torch.txt", "w+") as f:
|
| 54 |
f.write(traceback.format_exc())
|
| 55 |
# ================
|
|
|
|
| 50 |
import tqdm
|
| 51 |
import regex
|
| 52 |
except:
|
| 53 |
+
print(traceback.format_exc())
|
| 54 |
with open("./DEBUG_err_import_torch.txt", "w+") as f:
|
| 55 |
f.write(traceback.format_exc())
|
| 56 |
# ================
|