Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import os
|
|
5 |
import gradio as gr
|
6 |
from typing import List, Tuple
|
7 |
|
|
|
|
|
8 |
class Object:
|
9 |
def __init__(self, rect: Tuple[int, int, int, int], label: int, prob: float):
|
10 |
self.rect = rect
|
|
|
5 |
import gradio as gr
|
6 |
from typing import List, Tuple
|
7 |
|
8 |
+
img_size = 640
|
9 |
+
|
10 |
class Object:
|
11 |
def __init__(self, rect: Tuple[int, int, int, int], label: int, prob: float):
|
12 |
self.rect = rect
|