Anthony-Ml commited on
Commit
26e91fb
1 Parent(s): 944da42

Update app.py

Browse files

Added examples

Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -17,7 +17,7 @@ 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
- covid = [[
21
  ['covid/covid_1038.png'], ['covid/covid_1034.png'],
22
  ['covid/cd.png'], ['covid/covid_1021.png'],
23
  ['covid/covid_1027.png'], ['covid/covid_1042.png'],
@@ -31,7 +31,6 @@ article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/
31
  interpretation='default'
32
  enable_queue=True
33
 
34
-
35
  gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
36
- outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=covid,article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
37
 
 
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'],
22
  ['covid/cd.png'], ['covid/covid_1021.png'],
23
  ['covid/covid_1027.png'], ['covid/covid_1042.png'],
 
31
  interpretation='default'
32
  enable_queue=True
33
 
 
34
  gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
35
+ outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=examples, article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
36