SMeyersMrOvkill
commited on
Commit
·
1a6e01a
1
Parent(s):
7cda445
TABS!
Browse files
app.py
CHANGED
@@ -97,12 +97,12 @@ def simple_desc(img, prompt):
|
|
97 |
print(total := total + resp)
|
98 |
return total
|
99 |
|
100 |
-
ifc = gr.
|
101 |
[
|
102 |
gr.Interface(simple_desc, inputs=[gr.Image(label="input", type="pil"), gr.Textbox(label="prompt")], outputs=[gr.Textbox(label="prompt")])
|
103 |
],
|
104 |
[
|
105 |
-
"Img
|
106 |
]
|
107 |
)
|
108 |
|
|
|
97 |
print(total := total + resp)
|
98 |
return total
|
99 |
|
100 |
+
ifc = gr.TabbedInterface(
|
101 |
[
|
102 |
gr.Interface(simple_desc, inputs=[gr.Image(label="input", type="pil"), gr.Textbox(label="prompt")], outputs=[gr.Textbox(label="prompt")])
|
103 |
],
|
104 |
[
|
105 |
+
"Img&Prompt2Text"
|
106 |
]
|
107 |
)
|
108 |
|