Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ from utils.tools_gradio import fast_process
|
|
| 5 |
from utils.tools import format_results, box_prompt, point_prompt, text_prompt
|
| 6 |
from PIL import ImageDraw
|
| 7 |
import numpy as np
|
|
|
|
|
|
|
| 8 |
|
| 9 |
model = YOLO('./weights/FastSAM-x.pt')
|
| 10 |
|
|
|
|
| 5 |
from utils.tools import format_results, box_prompt, point_prompt, text_prompt
|
| 6 |
from PIL import ImageDraw
|
| 7 |
import numpy as np
|
| 8 |
+
import matplotlib.pyplot as plt
|
| 9 |
+
import matplotlib.patches as patches
|
| 10 |
|
| 11 |
model = YOLO('./weights/FastSAM-x.pt')
|
| 12 |
|