Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
gr.load("NousResearch/Yarn-Mistral-7b-128k",src="models").launch()
|
|
|
3 |
|
|
|
|
|
|
1 |
+
# import gradio as gr
|
2 |
+
# gr.load("NousResearch/Yarn-Mistral-7b-128k",src="models").launch()
|
3 |
+
from transformers import pipeline
|
4 |
|
5 |
+
classifier = pipeline("sentiment-analysis")
|
6 |
+
classifier("I've been waiting for a HuggingFace course my whole life.")
|