Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
# Load the text classification pipeline with the custom model
|
| 5 |
pipe = pipeline("text-classification", model="1231czx/llama3_it_ultra_list_and_bold500")
|
| 6 |
|
| 7 |
def classify_text(text):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 4 |
pipe = pipeline("text-classification", model="1231czx/llama3_it_ultra_list_and_bold500")
|
| 5 |
|
| 6 |
def classify_text(text):
|