Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from sklearn.metrics import f1_score, roc_auc_score, accuracy_score
|
|
10 |
from transformers import EvalPrediction
|
11 |
import torch
|
12 |
import gradio as gr
|
13 |
-
|
14 |
title = 'Text market sentiment'
|
15 |
text_ = "Bitcoin to the moon"
|
16 |
model = AutoModelForSequenceClassification.from_pretrained("huggingface/Berbex/Model")
|
@@ -25,6 +25,7 @@ title = title,
|
|
25 |
theme = "peach",
|
26 |
examples = [[text_]]).launch()
|
27 |
|
|
|
28 |
|
29 |
console = Console()
|
30 |
|
|
|
10 |
from transformers import EvalPrediction
|
11 |
import torch
|
12 |
import gradio as gr
|
13 |
+
# REMOVE THIS IN COLAB
|
14 |
title = 'Text market sentiment'
|
15 |
text_ = "Bitcoin to the moon"
|
16 |
model = AutoModelForSequenceClassification.from_pretrained("huggingface/Berbex/Model")
|
|
|
25 |
theme = "peach",
|
26 |
examples = [[text_]]).launch()
|
27 |
|
28 |
+
###############
|
29 |
|
30 |
console = Console()
|
31 |
|