Spaces:
Sleeping
Sleeping
TanguyFox
commited on
Commit
·
e99dc22
1
Parent(s):
df14e5b
Update app model
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr;
|
2 |
from transformers import pipeline;
|
3 |
|
4 |
-
pipeline = pipeline(task="image-classification", model="
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|
|
|
1 |
import gradio as gr;
|
2 |
from transformers import pipeline;
|
3 |
|
4 |
+
pipeline = pipeline(task="image-classification", model="PedroSampaio/fruits-360-16-7")
|
5 |
|
6 |
def predict(input_img):
|
7 |
predictions = pipeline(input_img)
|