Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,13 @@ import os
|
|
| 4 |
import gdown
|
| 5 |
import streamlit as st
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
MODEL_PATH = "models/saved/final_model.pt"
|
| 8 |
# You need to replace this with the direct download link of your model file
|
| 9 |
# To get the direct link: Right-click your model file in Google Drive -> Get link -> Make sure it's set to "Anyone with the link can view"
|
|
|
|
| 4 |
import gdown
|
| 5 |
import streamlit as st
|
| 6 |
|
| 7 |
+
# Set page config - must be first Streamlit command
|
| 8 |
+
st.set_page_config(
|
| 9 |
+
page_title="TrueCheck - Fake News Detection",
|
| 10 |
+
page_icon="📰",
|
| 11 |
+
layout="wide"
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
MODEL_PATH = "models/saved/final_model.pt"
|
| 15 |
# You need to replace this with the direct download link of your model file
|
| 16 |
# To get the direct link: Right-click your model file in Google Drive -> Get link -> Make sure it's set to "Anyone with the link can view"
|