Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
examples = ["https://cdn-uploads.huggingface.co/production/uploads/63de2ecce742e86dc9196cb0/oGDkcC_A2EippXY1qGzvz.png"
|
|
|
|
|
|
|
|
|
4 |
|
5 |
gr.load("models/emre570/google-vit-large-finetuned",
|
6 |
title="Fine Tuned Breast Cancer ViT Demo",
|
|
|
7 |
examples = examples).launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
examples = ["https://cdn-uploads.huggingface.co/production/uploads/63de2ecce742e86dc9196cb0/oGDkcC_A2EippXY1qGzvz.png",
|
4 |
+
"https://cdn-uploads.huggingface.co/production/uploads/63de2ecce742e86dc9196cb0/Q7KrLHxyOGGMYe9Il-AGr.png",
|
5 |
+
"https://cdn-uploads.huggingface.co/production/uploads/63de2ecce742e86dc9196cb0/eeBiP6moG6h-f2JMcWFVq.png"]
|
6 |
+
|
7 |
+
description = "This demo uses a Vision Transformer model specially trained for breast cancer detection. You can see the model's predictions by uploading an X-ray image below."
|
8 |
|
9 |
gr.load("models/emre570/google-vit-large-finetuned",
|
10 |
title="Fine Tuned Breast Cancer ViT Demo",
|
11 |
+
description = description
|
12 |
examples = examples).launch()
|