diff options
author | taiyi747 <63543716+taiyi747@users.noreply.github.com> | 2023-05-01 05:46:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 05:46:21 +0200 |
commit | 0a40786ee047f3afe29a8b80320fbf905327d839 (patch) | |
tree | 0fd0bbd2f3fe5beaca96c0d27beeb7a599f60ba0 | |
parent | GUI with PyWebIO (diff) | |
download | gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar.gz gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar.bz2 gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar.lz gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar.xz gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.tar.zst gpt4free-0a40786ee047f3afe29a8b80320fbf905327d839.zip |
-rw-r--r-- | gui/pywebio-gui/pywebio-usesless.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/pywebio-gui/pywebio-usesless.py b/gui/pywebio-gui/pywebio-usesless.py index 86a31e03..c0843be6 100644 --- a/gui/pywebio-gui/pywebio-usesless.py +++ b/gui/pywebio-gui/pywebio-usesless.py @@ -1,4 +1,5 @@ -import usesless,time
+from gpt4free import usesless
+import time
from pywebio import start_server,config
from pywebio.input import *
from pywebio.output import *
@@ -55,4 +56,4 @@ def main(): msg()
print("Click link to chat page")
-start_server(main, port=8099,allowed_origins="*",auto_open_webbrowser=True,debug=True)
\ No newline at end of file +start_server(main, port=8099,allowed_origins="*",auto_open_webbrowser=True,debug=True)
|