Berbex commited on
Commit
c3b69c6
Β·
1 Parent(s): 327cf63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -4,7 +4,12 @@ import gradio as gr
4
 
5
  title = 'Text market sentiment'
6
  text_ = "Bitcoin to the moon"
7
- interface = gr.Interface.load("huggingface/Berbex/Model",
 
 
 
 
 
8
  title = title,
9
  theme = "peach",
10
  examples = [[text_]]).launch()
 
4
 
5
  title = 'Text market sentiment'
6
  text_ = "Bitcoin to the moon"
7
+ model = torch.load("huggingface/Berbex/Model")
8
+
9
+ inp = [gr.Textbox(label='API Key', placeholder="What is your API Key?"), gr.Textbox(label='Audio File URL', placeholder="Audio file URL?")]
10
+ out = gr.Textbox(label='Output')
11
+
12
+ interface = gr.Interface.load(input=inp,output=out,
13
  title = title,
14
  theme = "peach",
15
  examples = [[text_]]).launch()