AIteen commited on
Commit
bfb12d9
·
verified ·
1 Parent(s): 44d428c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ model = AutoModel.from_pretrained('Salesforce/SFR-Embedding-Mistral')
42
  # Create Gradio Interface
43
  gr.Interface(
44
  fn=similarity_ui,
45
- inputs=[gr.Textbox(type="text"), gr.Textbox(type="text")], # Pass a list of input components
46
- outputs=gr.Textbox(),
47
  title="Similarity Score Calculator",
48
  description="Enter a Key Name and 3 Fields to find similarity scores"
49
  ).launch()
 
42
  # Create Gradio Interface
43
  gr.Interface(
44
  fn=similarity_ui,
45
+ inputs=["text", text], # Pass a list of input components
46
+ outputs="text",
47
  title="Similarity Score Calculator",
48
  description="Enter a Key Name and 3 Fields to find similarity scores"
49
  ).launch()