abhi099k commited on
Commit
7bc9735
·
verified ·
1 Parent(s): 3ccfb4f

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -18,7 +18,7 @@ using a fine-tuned `microsoft/deberta-v3-large` model.
18
  # ====================== LOAD MODEL ======================
19
  @st.cache_resource
20
  def load_model():
21
- model_name = "your-username/ai-text-detector-deberta-v3-large" # Replace with your HF model repo
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
24
  return tokenizer, model
 
18
  # ====================== LOAD MODEL ======================
19
  @st.cache_resource
20
  def load_model():
21
+ model_name = "kishankachhadiya/ai-text-detector-v-45.5" # Replace with your HF model repo
22
  tokenizer = AutoTokenizer.from_pretrained(model_name)
23
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
24
  return tokenizer, model