Spaces:
Runtime error
Runtime error
Update app.py
Browse files154 unmodified lines155156157158159160161154 unmodified linesprint(text)js = f"""<script>var chatInput = parent.document.querySelector('textarea[data-testid="stChatInputTextArea"]');var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, "value").set;nativeInputValueSetter.call(chatInput, "{text}");var event = new Event('input', {{ bubbles: true}});154 unmodified lines155156157158159160161154 unmodified linesprint(text)js = f"""<script>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