research14 commited on
Commit
f0d418f
1 Parent(s): 63aea7f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ def interface():
151
  #textbox_prompt.submit(llama_respond, inputs=[textbox_prompt, llama_S1_chatbot], outputs=[textbox_prompt, llama_S1_chatbot])
152
 
153
  btn.click(lambda _,
154
- message=textbox_prompt: linguistic_features_textbox.update(linguistic_features(message)),
155
  inputs=[textbox_prompt],
156
  outputs=[linguistic_features_textbox])
157
 
 
151
  #textbox_prompt.submit(llama_respond, inputs=[textbox_prompt, llama_S1_chatbot], outputs=[textbox_prompt, llama_S1_chatbot])
152
 
153
  btn.click(lambda _,
154
+ message=textbox_prompt: linguistic_features_textbox.update(linguistic_features(textbox_prompt.value)),
155
  inputs=[textbox_prompt],
156
  outputs=[linguistic_features_textbox])
157