Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def inference(image):
|
|
28 |
im = Image.open(im_reader(im_path))
|
29 |
|
30 |
|
31 |
-
return 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"
|
40 |
-
title=
|
41 |
-
description=
|
42 |
-
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)
|