Spaces:
Running
Running
Krish Patel
commited on
Commit
·
85e3b89
1
Parent(s):
5ac49d2
Debugging 6
Browse files
app.py
CHANGED
@@ -83,6 +83,9 @@ def main():
|
|
83 |
st.title("Nexus NLP News Classifier")
|
84 |
st.write("Enter news text below to analyze its authenticity")
|
85 |
|
|
|
|
|
|
|
86 |
# Text input area
|
87 |
news_text = st.text_area("News Text", height=200)
|
88 |
|
|
|
83 |
st.title("Nexus NLP News Classifier")
|
84 |
st.write("Enter news text below to analyze its authenticity")
|
85 |
|
86 |
+
# Initialize models
|
87 |
+
nlp, tokenizer, model, knowledge_graph = initialize_models()
|
88 |
+
|
89 |
# Text input area
|
90 |
news_text = st.text_area("News Text", height=200)
|
91 |
|