Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,16 +1,6 @@
|
|
| 1 |
-
import torch
|
| 2 |
-
import torchvision
|
| 3 |
-
# from torchvision import transforms
|
| 4 |
-
import numpy as np
|
| 5 |
import gradio as gr
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
# from pytorch_grad_cam.utils.image import show_cam_on_image
|
| 9 |
-
import gradio as gr
|
| 10 |
-
from models.yolo import Model
|
| 11 |
-
|
| 12 |
-
from huggingface_hub import hf_hub_download
|
| 13 |
-
hf_hub_download("merve/yolov9")
|
| 14 |
|
| 15 |
import yolov9
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import spaces
|
| 3 |
+
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
import yolov9
|
| 6 |
|