Spaces:
Runtime error
Runtime error
Update app.py
Browse files154 unmodified lines155156157158158159160161154 unmodified lines print(text) js = f""" <script> var chatInput = parent.document.querySelector('textarea[data-testid="stChatInputTextArea"]'); var chatInput = parent.document.querySelector('textarea[data-testid="stChatInput"]'); var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, "value").set; nativeInputValueSetter.call(chatInput, "{text}"); var event = new Event('input', {{ bubbles: true}});app.py+1-1