Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from datasets import load_dataset
|
|
| 4 |
|
| 5 |
dataset = load_dataset("zeroshot/twitter-financial-news-sentiment", )
|
| 6 |
|
| 7 |
-
intf = gr.Interface(fn=None,
|
| 8 |
intf.launch()
|
| 9 |
|
| 10 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
|
|
|
| 4 |
|
| 5 |
dataset = load_dataset("zeroshot/twitter-financial-news-sentiment", )
|
| 6 |
|
| 7 |
+
intf = gr.Interface(fn=None, inputs=None, outputs=dataset['train'][:10])
|
| 8 |
intf.launch()
|
| 9 |
|
| 10 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|