Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
|
2 |
import os
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
import torch.nn as nn
|
6 |
import gradio as gr
|
|
|
7 |
from torchvision.models import efficientnet_v2_m, EfficientNet_V2_M_Weights
|
8 |
from torchvision.ops import nms, box_iou
|
9 |
import torch.nn.functional as F
|
|
|
|
|
1 |
import os
|
2 |
import numpy as np
|
3 |
import torch
|
4 |
import torch.nn as nn
|
5 |
import gradio as gr
|
6 |
+
from dataclasses import dataclass
|
7 |
from torchvision.models import efficientnet_v2_m, EfficientNet_V2_M_Weights
|
8 |
from torchvision.ops import nms, box_iou
|
9 |
import torch.nn.functional as F
|