Anthony-Ml commited on
Commit
c0d91ef
1 Parent(s): 5a6af41

Update app.py

Browse files

Added num_shap=5

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -15,7 +15,7 @@ title = "Detect COVID_19 Infection Xray Chest Images"
15
  description = """
16
  This Space demonstrates model based on efficientnet base model.
17
 
18
- The model is trained using [anasmohammedtahir/covidqu] (https://www.kaggle.com/datasets/anasmohammedtahir/covidqu)dataset
19
  """
20
  examples = [
21
  ['covid/covid_1038.png'], ['covid/covid_1034.png'],
@@ -25,8 +25,10 @@ examples = [
25
 
26
  article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/anasmohammedtahir/covidqu' target='_blank'>COVID-QU-Ex Dataset</a></p>"
27
  interpretation="shap"
 
28
  enable_queue=True
29
 
 
30
  gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
31
  outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=examples, article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
32
 
 
15
  description = """
16
  This Space demonstrates model based on efficientnet base model.
17
 
18
+ The model is trained using [anasmohammedtahir/covidqu](https://www.kaggle.com/datasets/anasmohammedtahir/covidqu) dataset
19
  """
20
  examples = [
21
  ['covid/covid_1038.png'], ['covid/covid_1034.png'],
 
25
 
26
  article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/anasmohammedtahir/covidqu' target='_blank'>COVID-QU-Ex Dataset</a></p>"
27
  interpretation="shap"
28
+ num_shap=5
29
  enable_queue=True
30
 
31
+
32
  gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
33
  outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=examples, article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
34