Giter Site home page Giter Site logo

chatgpt-clone's Introduction

chatgpt-clone

Build Yourown ChatGPT with OpenAI API & Gradio

Instructions:

  1. Get your OpenAI API key here - https://beta.openai.com/account/api-keys
  2. Replace that key in the app.py code
  3. Must keep that api key to highly private and don't show them to anyone
  4. Install the required libraries pip install -r requirements.txt
  5. run python app.py

Complete Tutorial: https://youtu.be/n5nn3mQxrE8

Demo

chatgptcloneintro.mp4

chatgpt-clone'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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-clone's Issues

More a Query

text-davinci-003 works as good as the free ChatGP.

But from code-davinci-002 I am not able to get anything useful.
Please throw some light on code-davinci-002 best prompt engineering,

TypeError: Config.__init__() got an unexpected keyword argument 'ws_max_size'

Hi, I tried to run app.py but I get the following error

Traceback (most recent call last): File "path/to/app.py", line 40, in <module> block.launch(debug = True, server_name = "127.0.0.1", server_port = 4050) File "path\to\gradio\blocks.py", line 1356, in launch server_name, server_port, local_url, app, server = networking.start_server( File "path\to\gradio\networking.py", line 145, in start_server config = uvicorn.Config( TypeError: Config.__init__() got an unexpected keyword argument 'ws_max_size'

I was able to solve only by commenting
ws_max_size=1024 * 1024 * 1024, # Setting max websocket size to be 1 GB
in gradio/networking.py but I would like to have a better solution.

Can you please help me?

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.