kritsadaK commited on
Commit
0f1ebf0
·
1 Parent(s): 27ffc0e

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -107,7 +107,7 @@ def load_tokenizer():
107
 
108
  tokenizer = load_tokenizer()
109
 
110
- # Set parameters for text preprocessing
111
  MAX_SEQUENCE_LENGTH = 200 # Ensure this matches what the model was trained with
112
  THRESHOLD = 0.7 # Adjust threshold as needed
113
 
@@ -188,4 +188,3 @@ st.image(image, caption='Source: https://en.wikipedia.org/wiki/List_of_fake_news
188
  st.title("🔗 Example Fake News Articles")
189
  st.markdown("[Link 1](https://newsexaminer.net/politics/democratic/trump-democrats-face-different-political-landscape-ahead-of-midterms/)")
190
  st.markdown("[Link 2](https://newsexaminer.net/robert-f-kennedy-jr-suspends-2024-presidential-campaign-endorses-donald-trump/)")
191
- st.markdown("[Link 3](https://newsexaminer.net/trumps-fiery-response-to-harris-dnc-speech-a-social-media-frenzy/)")
 
107
 
108
  tokenizer = load_tokenizer()
109
 
110
+ # Set parameters for text preprocessing Ensure this matches what the model was trained with
111
  MAX_SEQUENCE_LENGTH = 200 # Ensure this matches what the model was trained with
112
  THRESHOLD = 0.7 # Adjust threshold as needed
113
 
 
188
  st.title("🔗 Example Fake News Articles")
189
  st.markdown("[Link 1](https://newsexaminer.net/politics/democratic/trump-democrats-face-different-political-landscape-ahead-of-midterms/)")
190
  st.markdown("[Link 2](https://newsexaminer.net/robert-f-kennedy-jr-suspends-2024-presidential-campaign-endorses-donald-trump/)")