Ginidu2003 commited on
Commit
75ac2d1
·
verified ·
1 Parent(s): dcb33bd

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -2
src/streamlit_app.py CHANGED
@@ -15,7 +15,6 @@ hf_token = os.getenv("HF_TOKEN")
15
  if hf_token:
16
  login(hf_token)
17
 
18
-
19
  # ====================== PREPROCESSING (Same as Task 2) ======================
20
 
21
  # ====================== LOAD FINE-TUNED MODEL ======================
@@ -53,7 +52,7 @@ if uploaded_file is not None:
53
 
54
  # Classify
55
  predictions = []
56
- for text in df['clean_content']:
57
  if text.strip() == "":
58
  predictions.append("Unknown")
59
  else:
 
15
  if hf_token:
16
  login(hf_token)
17
 
 
18
  # ====================== PREPROCESSING (Same as Task 2) ======================
19
 
20
  # ====================== LOAD FINE-TUNED MODEL ======================
 
52
 
53
  # Classify
54
  predictions = []
55
+ for text in df['content']:
56
  if text.strip() == "":
57
  predictions.append("Unknown")
58
  else: