Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import gradio as gr
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
-
od_pipe = pipeline("object-detection", "
|
| 6 |
|
| 7 |
def get_pipeline_prediction(pil_image):
|
| 8 |
# first get the pipeline output given the pil image
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
+
od_pipe = pipeline("object-detection", "facebook/detr-resnet-50")
|
| 6 |
|
| 7 |
def get_pipeline_prediction(pil_image):
|
| 8 |
# first get the pipeline output given the pil image
|