Jim Dowling
commited on
Commit
•
150a9cd
1
Parent(s):
c401e7f
updates
Browse files
app.py
CHANGED
@@ -33,10 +33,12 @@ def show_image(img):
|
|
33 |
# Define the Gradio interface
|
34 |
iface = gr.Interface(
|
35 |
fn=show_image,
|
36 |
-
inputs=
|
|
|
37 |
outputs="image",
|
38 |
title="Display PNG Image",
|
39 |
)
|
40 |
|
41 |
# Launch the interface
|
42 |
-
iface.launch(share=True
|
|
|
|
33 |
# Define the Gradio interface
|
34 |
iface = gr.Interface(
|
35 |
fn=show_image,
|
36 |
+
inputs="textbox",
|
37 |
+
#gr.Textbox(label="Image Name"),
|
38 |
outputs="image",
|
39 |
title="Display PNG Image",
|
40 |
)
|
41 |
|
42 |
# Launch the interface
|
43 |
+
iface.launch(share=True)
|
44 |
+
#, inputs=["fig1","fig2"])
|