versae commited on
Commit
099a81e
1 Parent(s): f3f685a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[predict_text],
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,