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 trained intent classification model
|
5 |
-
model_name = "
|
6 |
classifier = pipeline("text-classification", model=model_name)
|
7 |
|
8 |
# Define a function to predict intent
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the trained intent classification model
|
5 |
+
model_name = "sonisatish119/PhysioMindAI-intent-classification-bert" # Replace with your actual model name
|
6 |
classifier = pipeline("text-classification", model=model_name)
|
7 |
|
8 |
# Define a function to predict intent
|