IBounhas commited on
Commit
a0a0cea
1 Parent(s): 7631d16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def greet(Word1, Word2):
24
  instances[0]=([vocab_to_int[l] for l in item])
25
  instances=instances.astype(float)
26
  val=model.predict(instances)[0]
27
- percentage = val#"{:.0%}".format()
28
  return percentage
29
 
30
 
 
24
  instances[0]=([vocab_to_int[l] for l in item])
25
  instances=instances.astype(float)
26
  val=model.predict(instances)[0]
27
+ percentage = "{:.0%}".format(val[1])
28
  return percentage
29
 
30