Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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):
|