Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: main thread is not in main loop #17

Open
pcxdi opened this issue Oct 17, 2023 · 1 comment
Open

RuntimeError: main thread is not in main loop #17

pcxdi opened this issue Oct 17, 2023 · 1 comment

Comments

@pcxdi
Copy link

pcxdi commented Oct 17, 2023

Exception ignored in: <function Variable.del at 0x000001CBE63F3B80>
Traceback (most recent call last):
File "D:\anaconda\envs\pytorch\rich-text-to-image-main\lib\tkinter_init_.py", line 363, in del
if self._tk.getboolean(self._tk.call("info", "exists", self.name)):
RuntimeError: main thread is not in main loop
Exception ignored in: <function Variable.del at 0x000001CBE63F3B80>
Traceback (most recent call last):
File "D:\anaconda\envs\pytorch\rich-text-to-image-main\lib\tkinter_init
.py", line 363, in del
if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
RuntimeError: main thread is not in main loop
How do I solve this threading problem

@songweige
Copy link
Owner

Does this also happen when you try to launch the gradio demo? Could you paste the entire error log so that I could know where the code causes the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants