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 |
-
MODEL_ID = "
|
| 5 |
clf = pipeline("image-classification", model=MODEL_ID)
|
| 6 |
|
| 7 |
def predict(img):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
MODEL_ID = "fgmckee/malimg_preprocess" # <- replace with any model above
|
| 5 |
clf = pipeline("image-classification", model=MODEL_ID)
|
| 6 |
|
| 7 |
def predict(img):
|