Commit
·
03b882f
1
Parent(s):
13665c5
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ with gr.Blocks() as bls:
|
|
10 |
gr.Markdown("Here is a Sentiment Analysis app")
|
11 |
with gr.Row():
|
12 |
inp = gr.Textbox(label="Type your sentence here and click Run", placeholder='Example: I love to eat')
|
13 |
-
out1 = gr.Textbox(label="The sentiment is:")
|
14 |
out2 = gr.Number(label='Sentiment confidence % is:')
|
15 |
btn = gr.Button("Run")
|
16 |
btn.click(fn=convert, inputs=inp, outputs=[out1, out2])
|
|
|
10 |
gr.Markdown("Here is a Sentiment Analysis app")
|
11 |
with gr.Row():
|
12 |
inp = gr.Textbox(label="Type your sentence here and click Run", placeholder='Example: I love to eat')
|
13 |
+
out1 = gr.Textbox(label="The sentiment is:")
|
14 |
out2 = gr.Number(label='Sentiment confidence % is:')
|
15 |
btn = gr.Button("Run")
|
16 |
btn.click(fn=convert, inputs=inp, outputs=[out1, out2])
|