Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ import gradio as gr
|
|
3 |
from PIL import Image
|
4 |
import torch
|
5 |
|
|
|
|
|
6 |
os.system('mkdir weights')
|
7 |
os.system('curl -L -o weights/hybridnets.pth https://github.com/datvuthanh/HybridNets/releases/download/v1.0/hybridnets.pth')
|
8 |
|
|
|
3 |
from PIL import Image
|
4 |
import torch
|
5 |
|
6 |
+
os.system('python3 -m pip install -r requirements_manual.txt')
|
7 |
+
|
8 |
os.system('mkdir weights')
|
9 |
os.system('curl -L -o weights/hybridnets.pth https://github.com/datvuthanh/HybridNets/releases/download/v1.0/hybridnets.pth')
|
10 |
|