yosrissa commited on
Commit
bd760a7
·
verified ·
1 Parent(s): 7396136

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the model from Hugging Face Hub
5
- model_name = "yosrissa/AITA-D-BERT-classifier" # Replace with your Hugging Face model name
6
  classifier = pipeline("text-classification", model=model_name)
7
 
8
  def classify_text(input_text):
 
2
  from transformers import pipeline
3
 
4
  # Load the model from Hugging Face Hub
5
+ model_name = "yosrissa/AITAPostsTopicsClassifier" # Replace with your Hugging Face model name
6
  classifier = pipeline("text-classification", model=model_name)
7
 
8
  def classify_text(input_text):