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

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

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +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://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)
 
19
  return "The Image is of a Cat."
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
+ background='body{background-image:url("https://d2gg9evh47fn9z.cloudfront.net/800px_COLOURBOX35440124.jpg");}'
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)