Spaces:
Runtime error
Runtime error
Commit
·
30c2986
1
Parent(s):
a441b42
Update app.py
Browse files
app.py
CHANGED
@@ -122,11 +122,10 @@ def main(args):
|
|
122 |
)
|
123 |
|
124 |
|
125 |
-
def make_frontend(fn: Callable[[
|
126 |
"""Creates a gradio.Interface frontend for text to image search function."""
|
127 |
|
128 |
input_section = gr.inputs.Textbox(lines=2, placeholder="Enter item description here")
|
129 |
-
|
130 |
output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below")
|
131 |
|
132 |
# Define Interface layout with Gradio's Row and Column
|
|
|
122 |
)
|
123 |
|
124 |
|
125 |
+
def make_frontend(fn: Callable[[Image], str], flagging: bool = False, gantry: bool = False, app_name: str = "fashion-aggregator"):
|
126 |
"""Creates a gradio.Interface frontend for text to image search function."""
|
127 |
|
128 |
input_section = gr.inputs.Textbox(lines=2, placeholder="Enter item description here")
|
|
|
129 |
output_section = gr.Gallery(label="Relevant Items", show_labels=True, label_position="below")
|
130 |
|
131 |
# Define Interface layout with Gradio's Row and Column
|