Coder Social home page Coder Social logo

chatteach / freegpt Goto Github PK

View Code? Open in Web Editor NEW
190.0 2.0 94.0 334 KB

Use GPT 3.5 / 4 Free - No API Key Need

Home Page: https://www.youtube.com/channel/UC1weYqfDgX0ALlNOSzcyblQ?sub_confirmation=1

License: GNU General Public License v3.0

Python 75.58% Dockerfile 0.27% CSS 10.16% HTML 3.04% JavaScript 10.96%
chatbot chatgpt chatgpt-app chatgpt-bot chatgpt-clone chatgptapi freegpt freegpt4 gpt-3 gpt-4

freegpt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

freegpt's Issues

Error

{"_action":"_ask","error":"an error occurred Expecting value: line 1 column 1 (char 0)","success":false}

api keys

Is there any way I can get a free api key or construct one with this project?

실행 안되는분들 해결법

run.py
PATH = os.path.dirname(os.path.realpath(file)).replace(os.sep, "/")
config = load(open(f'{PATH}/config.json', 'r'))

babel.py
def get_languages_from_dir(directory):
"""Return a list of directory names in the given directory."""

PATH = os.path.dirname(os.path.realpath(__file__)).replace(os.sep, "/").replace("freegpt-webui-v2/server", "freegpt-webui-v2")
directory = f"{PATH}/{directory}"

return [name for name in os.listdir(directory)
        if os.path.isdir(os.path.join(directory, name))]

BABEL_DEFAULT_LOCALE = 'ko_KR'
BABEL_LANGUAGES = [BABEL_DEFAULT_LOCALE]

good

Integration on Discord Bot

Hi there.

How can I give prompts to this gpt from a discord bot?. For example the discord user will ping my bot giving it a prompt and then the prompt should be sent on the FreeGPT.

Thanks in advance

Is this me doing something wrong or it?

i got this "Traceback (most recent call last):
File "C:\Users\acer\Downloads\freegpt-webui-v2\run.py", line 5, in
from server.backend import Backend_Api
File "C:\Users\acer\Downloads\freegpt-webui-v2\server\backend.py", line 7, in
import g4f
File "C:\Users\acer\Downloads\freegpt-webui-v2\g4f_init_.py", line 6, in
from .models import Model, ModelUtils, all_models
File "C:\Users\acer\Downloads\freegpt-webui-v2\g4f\models.py", line 3, in
from .Provider import RetryProvider, ProviderType
File "C:\Users\acer\Downloads\freegpt-webui-v2\g4f\Provider_init
.py", line 7, in
from .deprecated import *
File "C:\Users\acer\Downloads\freegpt-webui-v2\g4f\Provider\deprecated_init_.py", line 6, in
from .GetGpt import GetGpt
File "C:\Users\acer\Downloads\freegpt-webui-v2\g4f\Provider\deprecated\GetGpt.py", line 9, in
from Crypto.Cipher import AES
File "C:\Users\acer\AppData\Local\Programs\Python\Python311\Lib\site-packages\Crypto\Cipher_init_.py", line 82, in
from Crypto.Cipher._mode_ctr import _create_ctr_cipher
File "C:\Users\acer\AppData\Local\Programs\Python\Python311\Lib\site-packages\Crypto\Cipher_mode_ctr.py", line 35, in
from Crypto.Util.number import long_to_bytes
File "C:\Users\acer\AppData\Local\Programs\Python\Python311\Lib\site-packages\Crypto\Util\number.py", line 398
s = pack('>I', n & 0xffffffffL) + s
^
SyntaxError: invalid hexadecimal literal"

Problem when hosting in Render

I hosted this repo in render.com
The deploy is succeeded
Website also working but it is not responding
The screenshots are attached herewith
Screenshot_2023-08-20-22-00-22-229
Screenshot_2023-08-20-22-00-36-173
Please help me to fix it

No answer to my question

GPT Response like:
{"_action":"_ask","error":"an error occurred list index out of range","success":false}
WX20230825-171737
Uploading WX20230825-171758.png…

Support for models

I'm curious if this support gpt 4-1106-preview (gpt 4 turbo) and possibly later models.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.