ArpitaShenoy commited on
Commit
f687ab1
1 Parent(s): f922761

updated app to include title

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +6 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: Owl Detector
3
- emoji: 📈
4
  colorFrom: yellow
5
  colorTo: indigo
6
  sdk: gradio
 
1
  ---
2
  title: Owl Detector
3
+ emoji: 🦉
4
  colorFrom: yellow
5
  colorTo: indigo
6
  sdk: gradio
app.py CHANGED
@@ -2,6 +2,8 @@
2
  __all__ = ['learn', 'categories', 'classify_images', 'image', 'label', 'intf']
3
 
4
 
 
 
5
  from fastai.vision.all import *
6
  import gradio as gr
7
 
@@ -16,5 +18,8 @@ def classify__images(img):
16
  image = gr.inputs.Image(shape=(192,192))
17
  label = gr.outputs.Label()
18
 
19
- intf = gr.Interface(fn=classify__images, inputs=image, outputs=label)
 
 
 
20
  intf.launch(inline=False)
 
2
  __all__ = ['learn', 'categories', 'classify_images', 'image', 'label', 'intf']
3
 
4
 
5
+ from selectors import DefaultSelector
6
+ from turtle import title
7
  from fastai.vision.all import *
8
  import gradio as gr
9
 
 
18
  image = gr.inputs.Image(shape=(192,192))
19
  label = gr.outputs.Label()
20
 
21
+ intf = gr.Interface(
22
+ title = "Owl Detector",
23
+ description = "A classifier that classifies between three types of owl (Barn, Barred, Snowy)",
24
+ fn=classify__images, inputs=image, outputs=label)
25
  intf.launch(inline=False)