chinhon commited on
Commit
4ccce0c
·
1 Parent(s): aad3e6a

added Disclaimer to Description about app's limits in practical use

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def tweet_detect(text):
45
  gradio_ui = gr.Interface(
46
  fn=tweet_detect,
47
  title="Detect Fake Tweets",
48
- description="Enter a tweet and see if the transformer model can identify if it was written by state-backed trolls.",
49
  inputs=gr.inputs.Textbox(lines=10, label="Paste tweet text here [English Only]"),
50
  outputs=gr.outputs.Label(type="auto", label="Prediction"),
51
  interpretation="shap",
 
45
  gradio_ui = gr.Interface(
46
  fn=tweet_detect,
47
  title="Detect Fake Tweets",
48
+ description="Enter a tweet and see if the transformer model can identify if it was written by state-backed trolls. DISCLAIMER: While the model was fine tuned on 100k real and troll tweets, and achieved high accuracy in my tests, its performance drops significantly against the day-to-day barrage of content on Twitter. As such, this app is intended as an example for understanding the limits of AI/ML in highly complex problems like fake media detection, and not as a final arbiter of whether someone's tweet is real or not.",
49
  inputs=gr.inputs.Textbox(lines=10, label="Paste tweet text here [English Only]"),
50
  outputs=gr.outputs.Label(type="auto", label="Prediction"),
51
  interpretation="shap",