Spaces:
Running
Running
Commit
·
011cb7f
1
Parent(s):
c02823d
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks() as demo:
|
|
125 |
output = gr.Textbox()
|
126 |
with gr.Row():
|
127 |
send_btn = gr.Button("Send")
|
128 |
-
send_btn.click(fn
|
129 |
with gr.Tab("Dataset"):
|
130 |
gr.Markdown("""
|
131 |
# Demo EmotioNL
|
@@ -138,7 +138,7 @@ with gr.Blocks() as demo:
|
|
138 |
output = gr.Textbox()
|
139 |
with gr.Row():
|
140 |
send_btn = gr.Button("Send")
|
141 |
-
send_btn.click(fn
|
142 |
|
143 |
demo.launch()
|
144 |
|
|
|
125 |
output = gr.Textbox()
|
126 |
with gr.Row():
|
127 |
send_btn = gr.Button("Send")
|
128 |
+
send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
|
129 |
with gr.Tab("Dataset"):
|
130 |
gr.Markdown("""
|
131 |
# Demo EmotioNL
|
|
|
138 |
output = gr.Textbox()
|
139 |
with gr.Row():
|
140 |
send_btn = gr.Button("Send")
|
141 |
+
send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
|
142 |
|
143 |
demo.launch()
|
144 |
|