Spaces:
Runtime error
Runtime error
Commit
·
a074ee9
1
Parent(s):
7029b0e
text change
Browse files
app.py
CHANGED
@@ -168,8 +168,8 @@ with demo:
|
|
168 |
prompt_Chunk = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
169 |
send_button_Chunk = gr.Button("Send", scale=0)
|
170 |
|
171 |
-
send_button_POS.click(process_text, inputs=["POS Tab", prompt_Chunk], outputs=[model1_S1_output, model1_S1_output, model1_S1_output])
|
172 |
-
send_button_Chunk.click(process_text, inputs=["Chunk Tab", prompt_POS], outputs=[model1_S1_output, model1_S1_output, model1_S1_output])
|
173 |
|
174 |
demo.launch()
|
175 |
|
|
|
168 |
prompt_Chunk = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
169 |
send_button_Chunk = gr.Button("Send", scale=0)
|
170 |
|
171 |
+
send_button_POS.click(process_text, inputs=["POS Tab", prompt_Chunk.element], outputs=[model1_S1_output, model1_S1_output, model1_S1_output])
|
172 |
+
send_button_Chunk.click(process_text, inputs=["Chunk Tab", prompt_POS.element], outputs=[model1_S1_output, model1_S1_output, model1_S1_output])
|
173 |
|
174 |
demo.launch()
|
175 |
|