44brabal commited on
Commit
7638b09
β€’
1 Parent(s): 42b772c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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()