versae commited on
Commit
1e0ec18
1 Parent(s): 0f14459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ title = "Type or draw to search in the Nasjonalbiblioteket"
105
  description = "Find images in the Nasjonalbiblioteket image collections based on what you draw or type"
106
  interface = gr.Interface(
107
  fn=[predict_sketch],
108
- inputs=["sketch"],
109
  outputs=[gr.outputs.Label(num_top_classes=3)] + 3 * [gr.outputs.Image(type="file")],
110
  title=title,
111
  description=description,
 
105
  description = "Find images in the Nasjonalbiblioteket image collections based on what you draw or type"
106
  interface = gr.Interface(
107
  fn=[predict_sketch],
108
+ inputs=["sketchpad"],
109
  outputs=[gr.outputs.Label(num_top_classes=3)] + 3 * [gr.outputs.Image(type="file")],
110
  title=title,
111
  description=description,