nkasmanoff commited on
Commit
1f16563
·
1 Parent(s): 1f7439f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -23,4 +23,8 @@ input_type = gr.inputs.Textbox(label="Input Text")
23
  checkbox = gr.inputs.Radio(["Semantic search", "Dataset similarity"], label="Please select search type:")
24
  iface = gr.Interface(fn=predict, inputs=[input_type, checkbox], outputs="text", title="SearchingFace")
25
 
 
 
 
 
26
  iface.launch()
 
23
  checkbox = gr.inputs.Radio(["Semantic search", "Dataset similarity"], label="Please select search type:")
24
  iface = gr.Interface(fn=predict, inputs=[input_type, checkbox], outputs="text", title="SearchingFace")
25
 
26
+ example1 = ["Natural disasters", "Semantic search"]
27
+ example2 = ["https://huggingface.co/datasets/turkic_xwmt", "Dataset similarity"]
28
+ iface.test_examples = [example1, example2]
29
+
30
  iface.launch()