Spaces:
Runtime error
Runtime error
add requirements
Browse files- App_main.py +3 -1
- requirements.txt +8 -0
App_main.py
CHANGED
|
@@ -2,7 +2,9 @@ from collections import OrderedDict
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
-
os.system('
|
|
|
|
|
|
|
| 6 |
import torch
|
| 7 |
from torchvision import transforms
|
| 8 |
from torchvision.transforms import InterpolationMode
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import os
|
| 5 |
+
os.system('nvidia-smi')
|
| 6 |
+
os.system('ls /usr/local')
|
| 7 |
+
os.system('pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu113')
|
| 8 |
import torch
|
| 9 |
from torchvision import transforms
|
| 10 |
from torchvision.transforms import InterpolationMode
|
requirements.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tensorboardX
|
| 2 |
+
matplotlib
|
| 3 |
+
einops
|
| 4 |
+
yaml
|
| 5 |
+
opencv-python
|
| 6 |
+
pandas
|
| 7 |
+
scikit-image
|
| 8 |
+
tqdm
|