M. Saad Munawar commited on
Commit
8ae3813
1 Parent(s): 43f1365

https://huggingface.co/spaces/Saad123/minima

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def model(image):
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
  background='body{background-image:url("https://img.freepik.com/premium-vector/seamless-pattern-cute-dog-puppy-symbol-toy-paw-footstep-cartoon-funny-happy-dog-concept-with-simple-shape-style-illustration-background-wallpaper-textile-fabric_253081-200.jpg?w=360");}'
23
- title = "Cat & Dog Classifier"
24
 
25
  iface = gr.Interface(fn=model, inputs=image, outputs='text', css=background, title=title)
26
  iface.launch(debug=True)
 
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
  background='body{background-image:url("https://img.freepik.com/premium-vector/seamless-pattern-cute-dog-puppy-symbol-toy-paw-footstep-cartoon-funny-happy-dog-concept-with-simple-shape-style-illustration-background-wallpaper-textile-fabric_253081-200.jpg?w=360");}'
23
+ title = gr.Textbox(label="Cat & Dog Classifier")
24
 
25
  iface = gr.Interface(fn=model, inputs=image, outputs='text', css=background, title=title)
26
  iface.launch(debug=True)