Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# PyTorch 2.8 (temporary hack)
|
| 2 |
import os
|
| 3 |
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9" spaces')
|
| 4 |
-
|
| 5 |
# Actual demo code
|
| 6 |
import spaces
|
| 7 |
import torch
|
|
|
|
| 1 |
# PyTorch 2.8 (temporary hack)
|
| 2 |
import os
|
| 3 |
os.system('pip install --upgrade --pre --extra-index-url https://download.pytorch.org/whl/nightly/cu126 "torch<2.9" spaces')
|
| 4 |
+
import logging
|
| 5 |
# Actual demo code
|
| 6 |
import spaces
|
| 7 |
import torch
|