From a195d6d568cfad949e8a4a96cfda1b61d247a481 Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Wed, 1 Nov 2023 22:28:07 -0300 Subject: Update run.py --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api/run.py') diff --git a/g4f/api/run.py b/g4f/api/run.py index 12bf9eed..5992ab60 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.Api(g4f).run('127.0.0.1:1337', 8) \ No newline at end of file + g4f.api.run('127.0.0.1:1337') -- cgit v1.2.3 From 318112c8b9b881582e0bc283d6f1811c80d699fb Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Sat, 4 Nov 2023 17:51:53 -0300 Subject: Update run.py --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api/run.py') diff --git a/g4f/api/run.py b/g4f/api/run.py index 5992ab60..bd76fcf2 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.run('127.0.0.1:1337') + g4f.api.run('127.0.0.1:1337', 8) -- cgit v1.2.3 From f51fe6322fcbd2bee24613d63aa8ea28cf6a32af Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:16:23 -0300 Subject: Update run.py --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api/run.py') diff --git a/g4f/api/run.py b/g4f/api/run.py index bd76fcf2..c822237d 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.run('127.0.0.1:1337', 8) + g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337", thread_quantity = 8) -- cgit v1.2.3 From 0a2ff2ba5ed33378a73524bd33892c91dbc5ada4 Mon Sep 17 00:00:00 2001 From: ThatLukinhasGuy <139662282+thatlukinhasguy1@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:25:02 -0300 Subject: Update run.py --- g4f/api/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api/run.py') diff --git a/g4f/api/run.py b/g4f/api/run.py index c822237d..88f34741 100644 --- a/g4f/api/run.py +++ b/g4f/api/run.py @@ -3,4 +3,4 @@ import g4f.api if __name__ == "__main__": print(f'Starting server... [g4f v-{g4f.version}]') - g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337", thread_quantity = 8) + g4f.api.Api(engine = g4f, debug = True).run(ip = "127.0.0.1:1337") -- cgit v1.2.3