Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -4,7 +4,7 @@ import io
|
|
| 4 |
import tempfile
|
| 5 |
import torch
|
| 6 |
# FOR CPU only mode
|
| 7 |
-
torch._dynamo.config.suppress_errors = True
|
| 8 |
# Or disable compilation entirely
|
| 9 |
# torch.backends.cudnn.enabled = False
|
| 10 |
import numpy as np
|
|
|
|
| 4 |
import tempfile
|
| 5 |
import torch
|
| 6 |
# FOR CPU only mode
|
| 7 |
+
# torch._dynamo.config.suppress_errors = True
|
| 8 |
# Or disable compilation entirely
|
| 9 |
# torch.backends.cudnn.enabled = False
|
| 10 |
import numpy as np
|