Spaces:
Runtime error
Runtime error
Update app.py
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="mvaloatto/
|
| 5 |
|
| 6 |
def predict(image):
|
| 7 |
predictions = pipeline(image)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
pipeline = pipeline(task="image-classification", model="mvaloatto/bald-or-not")
|
| 5 |
|
| 6 |
def predict(image):
|
| 7 |
predictions = pipeline(image)
|