Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
2 |
|
3 |
gr.Interface.load("models/valentinafeve/yolos-fashionpedia").launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
+
from transformers import pipeline
|
4 |
+
|
5 |
+
pipe = pipeline("object-detection", model="valentinafeve/yolos-fashionpedia")
|
6 |
|
7 |
gr.Interface.load("models/valentinafeve/yolos-fashionpedia").launch()
|