Imadsarvm commited on
Commit
c26e4a8
·
verified ·
1 Parent(s): 332cd77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -28,7 +28,7 @@ def inference(image):
28
  im = Image.open(im_reader(im_path))
29
 
30
 
31
- return im, im , im
32
 
33
 
34
 
@@ -36,10 +36,10 @@ def inference(image):
36
  interface = gr.Interface(
37
  fn=inference,
38
  inputs=gr.Textbox(label="Text or Image URL", interactive=True),
39
- outputs=["image","image","image"],
40
- title=title,
41
- description=description,
42
- article=article,
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
32
 
33
 
34
 
 
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)