diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-05-20 01:50:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 01:50:03 +0200 |
commit | 5115cf0e23e9abf2860161794a10e3a40055af4d (patch) | |
tree | 47c2a9f631c0ff4e47d8f34906705771164920b2 /g4f/gui/server/backend.py | |
parent | Update DeepInfra.py (diff) | |
parent | Add some options to messages in gui, saves generated images local (diff) | |
download | gpt4free-0.3.1.8.tar gpt4free-0.3.1.8.tar.gz gpt4free-0.3.1.8.tar.bz2 gpt4free-0.3.1.8.tar.lz gpt4free-0.3.1.8.tar.xz gpt4free-0.3.1.8.tar.zst gpt4free-0.3.1.8.zip |
Diffstat (limited to 'g4f/gui/server/backend.py')
-rw-r--r-- | g4f/gui/server/backend.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/g4f/gui/server/backend.py b/g4f/gui/server/backend.py index d9e31c0e..dc1b1080 100644 --- a/g4f/gui/server/backend.py +++ b/g4f/gui/server/backend.py @@ -47,13 +47,13 @@ class Backend_Api(Api): 'function': self.handle_conversation, 'methods': ['POST'] }, - '/backend-api/v2/gen.set.summarize:title': { - 'function': self.generate_title, - 'methods': ['POST'] - }, '/backend-api/v2/error': { 'function': self.handle_error, 'methods': ['POST'] + }, + '/images/<path:name>': { + 'function': self.serve_images, + 'methods': ['GET'] } } |