Spaces:
Runtime error
Runtime error
tomaseo2022
commited on
Commit
•
30ed572
1
Parent(s):
8b19113
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
import torchvision.transforms as transforms
|
|
|
1 |
+
import os
|
2 |
+
os.system("pip install --upgrade httpx")
|
3 |
+
os.system("pip install --upgrade gradio")
|
4 |
+
os.system("pip install opencv-python")
|
5 |
+
os.system("pip install torch")
|
6 |
+
os.system("pip install --upgrade pillow")
|
7 |
+
os.system("pip install numpy")
|
8 |
import gradio as gr
|
9 |
import torch
|
10 |
import torchvision.transforms as transforms
|