diff options
author | hdsz25 <hdsz25@hotmail.com> | 2023-10-28 17:58:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 17:58:36 +0200 |
commit | b8a3db526ce25932658131fcb96a3576f43672b1 (patch) | |
tree | a13de9a42c0bf890662f5ef81c28eecd86b39cb3 | |
parent | Merge pull request #1175 from Biflez48/main (diff) | |
download | gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.gz gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.bz2 gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.lz gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.xz gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.zst gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.zip |
-rw-r--r-- | g4f/gui/client/html/index.html | 10 | ||||
-rw-r--r-- | g4f/gui/server/backend.py | 2 | ||||
-rw-r--r-- | requirements.txt | 3 |
3 files changed, 8 insertions, 7 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html index 9dea5fe6..66534a51 100644 --- a/g4f/gui/client/html/index.html +++ b/g4f/gui/client/html/index.html @@ -130,9 +130,9 @@ <option value="google-bard">google-bard</option> <option value="google-palm">google-palm</option> <option value="bard">bard</option> - <option value="falcon-40b">falcon-40b</option> - <option value="falcon-7b">falcon-7b</option> - <option value="llama-13b">llama-13b</option> + <option value="llama2-7b">llama2-7b</option> + <option value="llama2-13b">llama2-13b</option> + <option value="llama2-70b">llama2-70b</option> <option value="command-nightly">command-nightly</option> <option value="gpt-neox-20b">gpt-neox-20b</option> <option value="santacoder">santacoder</option> @@ -188,7 +188,7 @@ <option value="g4f.Provider.Aibn">Aibn</option> <option value="g4f.Provider.Bing">Bing</option> <option value="g4f.Provider.You">You</option> - <option value="g4f.Provider.H2o">H2o</option> + <option value="g4f.Provider.Llama2">Llama2</option> <option value="g4f.Provider.Aivvm">Aivvm</option> </select> </div> @@ -203,4 +203,4 @@ </script> </body> -</html>
\ No newline at end of file +</html> diff --git a/g4f/gui/server/backend.py b/g4f/gui/server/backend.py index 304b9fc8..3d7bfedc 100644 --- a/g4f/gui/server/backend.py +++ b/g4f/gui/server/backend.py @@ -56,7 +56,7 @@ class Backend_Api: def stream(): yield from g4f.ChatCompletion.create( - model=g4f.models.gpt_35_long, + model=model, provider=get_provider(provider), messages=messages, stream=True, diff --git a/requirements.txt b/requirements.txt index 857cc324..ed0d6e4b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,4 +18,5 @@ loguru tiktoken pillow platformdirs -numpy
\ No newline at end of file +numpy +asgiref |