diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-05 14:20:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 14:20:28 +0200 |
commit | e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331 (patch) | |
tree | 392c091783aafab7b399eacfe83e670692dfb665 /g4f/gui/server | |
parent | Merge pull request #1762 from hlohaus/goo (diff) | |
download | gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.gz gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.bz2 gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.lz gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.xz gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.zst gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/server/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/api.py b/g4f/gui/server/api.py index b4e2b3d4..747d0c21 100644 --- a/g4f/gui/server/api.py +++ b/g4f/gui/server/api.py @@ -29,7 +29,7 @@ try: _RequestPermissionsManager.register_callback() from .android_gallery import user_select_image has_android = True -except ImportError: +except: run_on_ui_thread = lambda a : a has_android = False |