devloverumar commited on
Commit
02cc1fd
β€’
1 Parent(s): 820cb37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ if choose == "Inspect Content":
156
  print('prediction_value',predictions)
157
  if predictions[0]['Fake'] > 0.90:
158
  # st.error(f"The Sample is spoof: \n Confidence {(prediction_value) }%", icon="🚨")
159
- st.error(f"This text is AI generated", icon="🚨")
160
 
161
  else:
162
  st.success(f"This text is real", icon="βœ…")
 
156
  print('prediction_value',predictions)
157
  if predictions[0]['Fake'] > 0.90:
158
  # st.error(f"The Sample is spoof: \n Confidence {(prediction_value) }%", icon="🚨")
159
+ st.error(f"This text is AI generated "+str(predictions[0]['Fake']), icon="🚨")
160
 
161
  else:
162
  st.success(f"This text is real", icon="βœ…")