Imadsarvm commited on
Commit
9f67494
1 Parent(s): c26e4a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -28,18 +28,20 @@ def inference(image):
28
  im = Image.open(im_reader(im_path))
29
 
30
 
31
- return im
32
-
33
 
34
 
 
 
 
35
 
36
  interface = gr.Interface(
37
  fn=inference,
38
  inputs=gr.Textbox(label="Text or Image URL", interactive=True),
39
- outputs=["image"],
40
- title="Dsdsd",
41
- description="dsds",
42
- article="dsd",
43
  allow_flagging='never',
44
  cache_examples=False,
45
  ).queue().launch(show_error=True, share = True)
 
28
  im = Image.open(im_reader(im_path))
29
 
30
 
31
+ return im, im , im
 
32
 
33
 
34
+ title = "Bg remover for sarvm catalog"
35
+ description = "Bg remover for sarvm catalog"
36
+ article = "<div><center><img src='https://visitor-badge.glitch.me/badge?page_id=max_skobeev_dis_cmp_public' alt='visitor badge'></center></div>"
37
 
38
  interface = gr.Interface(
39
  fn=inference,
40
  inputs=gr.Textbox(label="Text or Image URL", interactive=True),
41
+ outputs=["image", "image", "image"],
42
+ title=title ,
43
+ description=description,
44
+ article=article,
45
  allow_flagging='never',
46
  cache_examples=False,
47
  ).queue().launch(show_error=True, share = True)