vumichien commited on
Commit
324a483
Β·
1 Parent(s): c662afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def predict(sentence1, sentence2):
72
  idx = np.argmax(proba)
73
  proba = f"{proba[idx]*100:.2f}%"
74
  pred = labels[idx]
75
- return f'These two sentences is {pred} with {proba} of probability'
76
 
77
  inputs = [
78
  gr.Audio(source = "upload", label='Upload audio file', type="filepath"),
 
72
  idx = np.argmax(proba)
73
  proba = f"{proba[idx]*100:.2f}%"
74
  pred = labels[idx]
75
+ return f'The semantic similarity of two input sentences is {pred} with {proba} of probability'
76
 
77
  inputs = [
78
  gr.Audio(source = "upload", label='Upload audio file', type="filepath"),