Oscar Wang commited on
Commit
d3359ce
·
verified ·
1 Parent(s): 398fb47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def classify_text(text):
22
  # Get the probability of the class '1'
23
  prob_1 = probabilities[0][1].item()
24
 
25
- return {"Probability of being 1": prob_1}
26
 
27
  # Create the Gradio interface
28
  iface = gr.Interface(
 
22
  # Get the probability of the class '1'
23
  prob_1 = probabilities[0][1].item()
24
 
25
+ return {"Probability of being AI": prob_1}
26
 
27
  # Create the Gradio interface
28
  iface = gr.Interface(