M. Saad Munawar commited on
Commit
6da64a6
1 Parent(s): d3cfdb0

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

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,7 +19,8 @@ def model(image):
19
  return "The Image is of a Cat."
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
- background='body{background-image:url("https://cdn.shopify.com/s/files/1/0017/4024/2996/articles/the-magic-of-black-cats-dogs-188729.png?v=1606316714");}'
 
23
 
24
- iface = gr.Interface(fn=model, inputs=image, outputs='text', css=background)
25
  iface.launch(debug=True)
 
19
  return "The Image is of a Cat."
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
+ background='body{background-image:url("https://media.istockphoto.com/photos/attentive-dog-and-cat-looking-up-in-same-direction-picture-id1324117906?b=1&k=20&m=1324117906&s=170667a&w=0&h=q3UFz8_LslVtJjvbUWJXeh-MyhhomDREGUf1Wp9aE7M=");}'
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)