danie94-lml commited on
Commit
53e8781
·
1 Parent(s): e098843

Update app.py

Browse files

Put title, description and a link to the github repo

Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -18,6 +18,9 @@ def classify_images(img):
18
  return dict(zip(categories, map(float,probs)))
19
 
20
  # %% app.ipynb 30
 
 
 
21
  image = gr.inputs.Image(shape=(256,256))
22
  label = gr.outputs.Label()
23
  examples = ['vincent_van_gogh.jpg', 'edvard_munch.jpg']
 
18
  return dict(zip(categories, map(float,probs)))
19
 
20
  # %% app.ipynb 30
21
+ title = "Vincent or Edvard paintings Classifier"
22
+ description = "Gradio Demo for a image classifier trained with fastai. To use it, simply upload your image, or click one of the examples to load them."
23
+ article = "<p style='text-align: center; font-weight: bold;'><a href='https://github.com/verdugo-danieML/vincent_or_edvard' target='_blank'>Github Repo 🚀</a></p></p>"
24
  image = gr.inputs.Image(shape=(256,256))
25
  label = gr.outputs.Label()
26
  examples = ['vincent_van_gogh.jpg', 'edvard_munch.jpg']