Spaces:
Runtime error
Runtime error
Create new file
Browse files
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from gradio.mix import Parallel
|
3 |
+
modelPneumonia = gr.Interface.load("huggingface/nickmuchi/vit-finetuned-chest-xray-pneumonia",
|
4 |
+
title="Pneumonia Prediction",
|
5 |
+
description="Predict Pneumonia from XRay Image",
|
6 |
+
article = "<h4>This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the chest-xray-pneumonia dataset </h4>"
|
7 |
+
)
|
8 |
+
modelPneumonia.close()
|
9 |
+
modelPneumonia.launch(share=True)
|