You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blocking usage of gradio.
When i run the code below i am get blocked for 400 seconds until i can use the App
the App worked perfectly 5 days ago, I think there is something related to some style elements, which do not load on the first launch.
and keep loading in background until the 400 second mark, after which everything works perfectly
Is this some kind of IP address blocking from S3 or something?
Have you searched existing issues? 🔎
I have searched and found no existing issues
Reproduction
importgradioasgrdefclosest_match(x):
returnx+": The Definitive Edition"defDropdown_list(x):
new_options= [*options, x+" Remastered", x+": The Remake", x+": Game of the Year Edition", x+" Steelbook Edition"]
returngr.Dropdown(choices=new_options)
defRecommend_new(x):
returnx+": Highest Cosine Similarity"demo=gr.Blocks()
options= ['Placeholder A', 'Placeholder B', 'Placeholder C']
withdemo:
text_input=gr.Textbox(label="Search bar")
b1=gr.Button("Match Closest Title")
text_options=gr.Dropdown(options, label="Top 5 options")
b2=gr.Button("Provide Additional options")
new_title=gr.Textbox(label="Here you go!")
b3=gr.Button("Recommend a new title")
b1.click(closest_match, inputs=text_input, outputs=text_options)
b2.click(Dropdown_list, inputs=text_input, outputs=text_options)
b3.click(Recommend_new, inputs=text_options, outputs=new_title)
# text_options.update(interactive=True)demo.launch(debug=True)
Screenshot
Logs
No response
System Info
ubuntu 22.04 LTS
python 3.10
gradio latest
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered:
now it's gotten worse, more than 7 minutes of blocking
I'm getting these errors in the browser console:
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
Unchecked runtime.lastError: The message port closed before a response was received.
css.ts:15 Unable to preload CSS for https://gradio.s3-us-west-2.amazonaws.com/assets/index-aa8d4ca5.css
(anonymous) @ css.ts:15
PS;
I did a fresh new install of Gradio the latest version, same problem
Describe the bug
Blocking usage of gradio.
When i run the code below i am get blocked for 400 seconds until i can use the App
the App worked perfectly 5 days ago, I think there is something related to some style elements, which do not load on the first launch.
and keep loading in background until the 400 second mark, after which everything works perfectly
Is this some kind of IP address blocking from S3 or something?
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: