Spaces:
Runtime error
Runtime error
Commit
·
e2a4e59
1
Parent(s):
8598b8b
fixed get value from prompt
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ 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.
|
154 |
|
155 |
btn.click(lambda _,
|
156 |
message=textbox_prompt: linguistic_features_textbox.update(linguistic_features(textbox_content)),
|
|
|
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(textbox_content)),
|