Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import gradio as gr
|
|
13 |
|
14 |
title = 'Text market sentiment'
|
15 |
text_ = "Bitcoin to the moon"
|
16 |
-
model =
|
17 |
|
18 |
inp = [gr.Textbox(label='API Key', placeholder="What is your API Key?"), gr.Textbox(label='Audio File URL', placeholder="Audio file URL?")]
|
19 |
out = gr.Textbox(label='Output')
|
|
|
13 |
|
14 |
title = 'Text market sentiment'
|
15 |
text_ = "Bitcoin to the moon"
|
16 |
+
model = AutoModelForSequenceClassification.from_pretrained("huggingface/Berbex/Model")
|
17 |
|
18 |
inp = [gr.Textbox(label='API Key', placeholder="What is your API Key?"), gr.Textbox(label='Audio File URL', placeholder="Audio file URL?")]
|
19 |
out = gr.Textbox(label='Output')
|