dalybuilds commited on
Commit
c7f9695
·
verified ·
1 Parent(s): 7aa2dc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", caption="Explore artworks based on your preferences."),
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()