Spaces:
Build error
Build error
maslionok commited on
Commit ·
7c3940e
1
Parent(s): 4bbf392
small fix
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ st.markdown("Enter text below to classify it as an Advertisement or Non-Advertis
|
|
| 13 |
@st.cache_resource
|
| 14 |
def load_pipeline():
|
| 15 |
# Initialize with diagnostics=True to get all parameters
|
| 16 |
-
return
|
| 17 |
|
| 18 |
try:
|
| 19 |
with st.spinner("Loading pipeline from GitHub..."):
|
|
|
|
| 13 |
@st.cache_resource
|
| 14 |
def load_pipeline():
|
| 15 |
# Initialize with diagnostics=True to get all parameters
|
| 16 |
+
return AdClassifierPipeline(diagnostics=True)
|
| 17 |
|
| 18 |
try:
|
| 19 |
with st.spinner("Loading pipeline from GitHub..."):
|