Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ artwork_interface = gr.Interface(
|
|
44 |
filter_interface = gr.Interface(
|
45 |
fn=display_filtered_artworks,
|
46 |
inputs=[gr.Text(label="Artist"), gr.Text(label="Genre"), gr.Text(label="Style")],
|
47 |
-
outputs=gr.Gallery(label="Filtered Artworks",
|
48 |
title="Filter Artworks"
|
49 |
)
|
50 |
|
@@ -66,4 +66,4 @@ def launch_app():
|
|
66 |
demo.launch()
|
67 |
|
68 |
if __name__ == "__main__":
|
69 |
-
launch_app()
|
|
|
44 |
filter_interface = gr.Interface(
|
45 |
fn=display_filtered_artworks,
|
46 |
inputs=[gr.Text(label="Artist"), gr.Text(label="Genre"), gr.Text(label="Style")],
|
47 |
+
outputs=gr.Gallery(label="Filtered Artworks"), # Removed the 'caption' argument
|
48 |
title="Filter Artworks"
|
49 |
)
|
50 |
|
|
|
66 |
demo.launch()
|
67 |
|
68 |
if __name__ == "__main__":
|
69 |
+
launch_app()
|