CoolFace
Apppublic

ulasdilek/gpt_claude_dialogue

sourceHugging Facemitupdated 3y agoView on Hugging Face
10likes
App README

GPT-3.5 Turbo and Claude-v1.3 Dialogue

This app uses the OpenAI API and the Anthropic API to generate responses between the two AI models. The user can type in a context and see GPT-3.5 Turbo and Claude-v1.3 have a generated conversation with each other.

Enjoy the chaos! Let me know if you have any issues running the app.

To run this app locally:

  1. 1.Clone this repository
  1. 1.Install the requirements:
bash
pip install -r requirements.txt
  1. 1.Obtain API keys for:
  2. 2.OpenAI's API
  3. 3.Anthropic's API
  1. 1.Add the API keys to a file called .env with the variables:
OPENAI_API_KEY="YOUR_OPENAI_API_KEY"
CLAUDE_API_KEY="YOUR_CLAUDE_API_KEY" 
  1. 1.Run the gradio app:
bash
gradio run app.py
  1. 1.The gradio app will launch in your browser. Type a context to start a conversation between GPT-3.5 Turbo and Claude-v1.3!
  1. 1.To close the app, stop the process in your terminal.