research14 commited on
Commit
a074ee9
·
1 Parent(s): 7029b0e

text change

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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