Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,12 @@ import re
|
|
9 |
import math
|
10 |
import logging
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
# --- Load heuristic weights from environment secrets, with JSON→Python fallback ---
|
13 |
@st.cache_resource
|
14 |
def load_heuristic_weights():
|
@@ -70,11 +76,7 @@ def highlight_heuristic_words(text: str) -> str:
|
|
70 |
logging.basicConfig(level=logging.INFO)
|
71 |
logger = logging.getLogger(__name__)
|
72 |
|
73 |
-
|
74 |
-
page_title="AI Article Detection by DEJAN",
|
75 |
-
page_icon="🧠",
|
76 |
-
layout="wide"
|
77 |
-
)
|
78 |
|
79 |
st.markdown("""
|
80 |
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
|
|
|
9 |
import math
|
10 |
import logging
|
11 |
|
12 |
+
st.set_page_config(
|
13 |
+
page_title="AI Article Detection by DEJAN",
|
14 |
+
page_icon="🧠",
|
15 |
+
layout="wide"
|
16 |
+
)
|
17 |
+
|
18 |
# --- Load heuristic weights from environment secrets, with JSON→Python fallback ---
|
19 |
@st.cache_resource
|
20 |
def load_heuristic_weights():
|
|
|
76 |
logging.basicConfig(level=logging.INFO)
|
77 |
logger = logging.getLogger(__name__)
|
78 |
|
79 |
+
|
|
|
|
|
|
|
|
|
80 |
|
81 |
st.markdown("""
|
82 |
<link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet">
|