Berbex commited on
Commit
06c62fc
β€’
1 Parent(s): 8b46eb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = torch.load("huggingface/Berbex/Model/model.pt")
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')