Spaces:
Runtime error
Runtime error
Commit
·
eedb4c0
1
Parent(s):
20bcbd8
Update Model
Browse files- app.py +2 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
| 3 |
-
from
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
# torch.hub.download_url_to_file(
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import torch
|
| 3 |
+
from ultralyticsplus import render_result
|
| 4 |
+
from ultralytics import YOLO
|
| 5 |
|
| 6 |
|
| 7 |
# torch.hub.download_url_to_file(
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
gradio==3.39.0
|
| 2 |
torch
|
| 3 |
ultralyticsplus==0.0.28
|
|
|
|
|
|
| 1 |
gradio==3.39.0
|
| 2 |
torch
|
| 3 |
ultralyticsplus==0.0.28
|
| 4 |
+
ultralytics==8.2.76
|