Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def predict_text(text):
|
|
104 |
title = "Type to search in the Nasjonalbiblioteket"
|
105 |
description = "Find images in the Nasjonalbiblioteket image collections based on what you type"
|
106 |
interface = gr.Interface(
|
107 |
-
fn=
|
108 |
inputs=["text"],
|
109 |
outputs=[gr.outputs.Label(num_top_classes=3)] + 3 * [gr.outputs.Image(type="filepath")],
|
110 |
title=title,
|
|
|
104 |
title = "Type to search in the Nasjonalbiblioteket"
|
105 |
description = "Find images in the Nasjonalbiblioteket image collections based on what you type"
|
106 |
interface = gr.Interface(
|
107 |
+
fn=predict_text,
|
108 |
inputs=["text"],
|
109 |
outputs=[gr.outputs.Label(num_top_classes=3)] + 3 * [gr.outputs.Image(type="filepath")],
|
110 |
title=title,
|