Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=["
|
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,
|