chinhon commited on
Commit
93853e6
1 Parent(s): 824836c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,8 +46,8 @@ gradio_ui = gr.Interface(
46
  fn=tweet_detect,
47
  title="Detect Fake Tweets",
48
  description="Enter a tweet and see if a Distilbert 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",
52
  article="Details of the fine tuning and tests are in this Medium post: https://bit.ly/3tueP36",
53
  )
46
  fn=tweet_detect,
47
  title="Detect Fake Tweets",
48
  description="Enter a tweet and see if a Distilbert 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.Textbox(lines=10, label="Paste tweet text here [English Only]"),
50
+ outputs=gr.Label(type="auto", label="Prediction"),
51
  interpretation="shap",
52
  article="Details of the fine tuning and tests are in this Medium post: https://bit.ly/3tueP36",
53
  )