Closed
Description
Looking at the html source for the gradio app and testing this a bit more, it seems like only the first script tag from the head is being applied
"""
head = """
<script>console.log('hello')</script>
<script>console.log('world')</script>
"""
with gr.Blocks(head=head):
Additionally, in this case it seems like the script tag is added to the head section after the page already loads, so it never gets executed? The console output is empty.
Originally posted by @jonathanasdf in #5954 (comment)