Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
#!pip install -q transformers datasets torch gradio console_logging numpy
|
2 |
|
|
|
|
|
3 |
title = 'Text market sentiment'
|
4 |
text_ = "Bitcoin to the moon"
|
5 |
interface = gr.Interface.load("huggingface/berbex/model",
|
@@ -7,7 +9,6 @@ title = title,
|
|
7 |
theme = "peach",
|
8 |
examples = [[text_]]).launch()
|
9 |
|
10 |
-
import gradio as gr
|
11 |
import torch
|
12 |
from datasets import load_dataset
|
13 |
from console_logging.console import Console
|
|
|
1 |
#!pip install -q transformers datasets torch gradio console_logging numpy
|
2 |
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
title = 'Text market sentiment'
|
6 |
text_ = "Bitcoin to the moon"
|
7 |
interface = gr.Interface.load("huggingface/berbex/model",
|
|
|
9 |
theme = "peach",
|
10 |
examples = [[text_]]).launch()
|
11 |
|
|
|
12 |
import torch
|
13 |
from datasets import load_dataset
|
14 |
from console_logging.console import Console
|