Anthony-Ml commited on
Commit
3b82920
1 Parent(s): 0fb22c2

Update app.py

Browse files

Update Gradio with Html code

Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -12,19 +12,15 @@ def predict_image(get_image):
12
  return dict(zip(categories, map(float, probs)))
13
 
14
  title = "COVID_19 Infection Detectation App!"
15
-
16
  head = (
17
  "<center>"
18
- "<img src='covid/cd.png' width=400>"
19
- "The robot was trained to classify chest xray image. To test it, Use the Example Images Provided or Upload your own xray images the space provided."
 
 
20
  "</center>"
21
  )
22
-
23
- description = """
24
- This Space demonstrates model based on efficientnet base model.
25
-
26
- The model is trained using [anasmohammedtahir/covidqu](https://www.kaggle.com/datasets/anasmohammedtahir/covidqu) dataset
27
- """
28
  article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/anasmohammedtahir/covidqu' target='_blank'>COVID-QU-Ex Dataset</a></p>"
29
  examples = [
30
  ['covid/covid_1038.png'], ['covid/covid_1034.png'],
 
12
  return dict(zip(categories, map(float, probs)))
13
 
14
  title = "COVID_19 Infection Detectation App!"
 
15
  head = (
16
  "<center>"
17
+ "<img src='covid/Xray Image SuperImposed Gradcam.png' width=400>"
18
+ "This Space demonstrates model based on efficientnet base model. I has been trained to classify chest xray image.
19
+ "To test it, Use the Example Images Provided or Upload your own xray images the space provided."
20
+ "The model is trained using [anasmohammedtahir/covidqu](https://www.kaggle.com/datasets/anasmohammedtahir/covidqu) dataset"
21
  "</center>"
22
  )
23
+ description = head
 
 
 
 
 
24
  article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/anasmohammedtahir/covidqu' target='_blank'>COVID-QU-Ex Dataset</a></p>"
25
  examples = [
26
  ['covid/covid_1038.png'], ['covid/covid_1034.png'],