Spaces:
Runtime error
Runtime error
Commit
·
63aea7f
1
Parent(s):
e2a4e59
test
Browse files
app.py
CHANGED
@@ -150,12 +150,11 @@ def interface():
|
|
150 |
|
151 |
#textbox_prompt.submit(llama_respond, inputs=[textbox_prompt, llama_S1_chatbot], outputs=[textbox_prompt, llama_S1_chatbot])
|
152 |
|
153 |
-
textbox_content = textbox_prompt.value
|
154 |
-
|
155 |
btn.click(lambda _,
|
156 |
-
message=textbox_prompt: linguistic_features_textbox.update(linguistic_features(
|
157 |
-
inputs=[
|
158 |
outputs=[linguistic_features_textbox])
|
|
|
159 |
|
160 |
btn.click(vicuna_respond, inputs=[tab_name, textbox_prompt, vicuna_S1_chatbot],
|
161 |
outputs=[tab_name, textbox_prompt, vicuna_S1_chatbot])
|
|
|
150 |
|
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 |
+
|
158 |
|
159 |
btn.click(vicuna_respond, inputs=[tab_name, textbox_prompt, vicuna_S1_chatbot],
|
160 |
outputs=[tab_name, textbox_prompt, vicuna_S1_chatbot])
|