Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ description = "Place to try various models"
|
|
13 |
def classify(image):
|
14 |
inputs = feature_extractor(images=image, return_tensors="pt")
|
15 |
outputs = model(**inputs)
|
16 |
-
return
|
17 |
|
18 |
demo = gr.Interface(fn=classify, inputs="image", outputs="text")
|
19 |
|
|
|
13 |
def classify(image):
|
14 |
inputs = feature_extractor(images=image, return_tensors="pt")
|
15 |
outputs = model(**inputs)
|
16 |
+
return str(outputs)
|
17 |
|
18 |
demo = gr.Interface(fn=classify, inputs="image", outputs="text")
|
19 |
|