Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from PIL import Image, ImageDraw
|
| 3 |
from transformers import pipeline
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
def plot_results(image, results, threshold=0.7):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from PIL import Image, ImageDraw
|
| 3 |
from transformers import pipeline
|
| 4 |
+
import numpy as np
|
| 5 |
|
| 6 |
|
| 7 |
def plot_results(image, results, threshold=0.7):
|