baconnier commited on
Commit
9fff027
·
verified ·
1 Parent(s): 4c0ff10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -168,4 +168,14 @@ class ArtExplorer:
168
  )
169
 
170
  style_zoom.click(
171
- fn=lambda q, v: zoom_axis
 
 
 
 
 
 
 
 
 
 
 
168
  )
169
 
170
  style_zoom.click(
171
+ fn=lambda q, v: zoom_axis(q, "style", v),
172
+ inputs=[query, style_select],
173
+ outputs=[style_select, style_explanation]
174
+ )
175
+
176
+ return demo
177
+
178
+ if __name__ == "__main__":
179
+ explorer = ArtExplorer()
180
+ demo = explorer.create_interface()
181
+ demo.launch()