Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
def alz_mri_classification(image):
|
4 |
-
classifier = pipeline("image-classification", model="dewifaj/
|
5 |
result = classifier(image)
|
6 |
# extract the highest score
|
7 |
prediction = result[0]
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
def alz_mri_classification(image):
|
4 |
+
classifier = pipeline("image-classification", model="dewifaj/alzheimer_mri_classification")
|
5 |
result = classifier(image)
|
6 |
# extract the highest score
|
7 |
prediction = result[0]
|