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
when I use jupyter nobebook with hot reloading/Auto-Reloading, occured this problem:
AttributeError: 'JupyterReloader' object has no attribute 'queue_changed'
AttributeError Traceback (most recent call last)
Cell In[25], line 1
----> 1 get_ipython().run_cell_magic('blocks', '', '\nimport gradio as gr\n\nwith gr.Blocks() as demo:\n gr.Markdown(f"# Greetings {args.name}!")\n inp = gr.Textbox()\n out = gr.Textbox()\n\n inp.change(fn=lambda x: x, inputs=inp, outputs=out)\n')
File ~/program/anaconda3/envs/pytorch/lib/python3.12/site-packages/IPython/core/interactiveshell.py:2517, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
2515 with self.builtin_trap:
2516 args = (magic_arg_s, cell)
-> 2517 result = fn(*args, **kwargs)
2519 # The code below prevents the output from being displayed
2520 # when using magics with decorator @output_can_be_silenced
2521 # when the last Python token in the expression is a ';'.
2522 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):
File ~/program/anaconda3/envs/pytorch/lib/python3.12/site-packages/gradio/ipython_ext.py:83, in load_ipython_extension.<locals>.blocks(line, cell, local_ns)
81 demo.launch(share=args.share)
82 reloader.track(demo)
---> 83 elif reloader.queue_changed(demo):
84 print("Queue got added or removed. Restarting demo.")
85 reloader.running_demo.close()
AttributeError: 'JupyterReloader' object has no attribute 'queue_changed'
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered:
Describe the bug
when I use jupyter nobebook with hot reloading/Auto-Reloading, occured this problem:
AttributeError: 'JupyterReloader' object has no attribute 'queue_changed'
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: