M. Saad Munawar commited on
Commit
d3cfdb0
1 Parent(s): 7874eca

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

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ def model(image):
19
  return "The Image is of a Cat."
20
 
21
  image = gr.inputs.Image(shape=(160,160))
22
- css_code='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=css_code)
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://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)