Spaces:
Sleeping
Sleeping
Commit
·
8559b8e
1
Parent(s):
068c941
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict_image(img, conf_threshold, iou_threshold, model_name):
|
|
14 |
os.system('ls -l')
|
15 |
# os.system(f'/home/user/app/model/darknet detect /home/user/app/model/cfg/yolov2.cfg /home/user/app/model/yolov2.weights /home/user/app/model/data/dog.jpg')
|
16 |
|
17 |
-
return '/home/user/app/model/
|
18 |
|
19 |
|
20 |
iface = gr.Interface(
|
|
|
14 |
os.system('ls -l')
|
15 |
# os.system(f'/home/user/app/model/darknet detect /home/user/app/model/cfg/yolov2.cfg /home/user/app/model/yolov2.weights /home/user/app/model/data/dog.jpg')
|
16 |
|
17 |
+
return '/home/user/app/model/data/dog.jpg'
|
18 |
|
19 |
|
20 |
iface = gr.Interface(
|