gpt_claude_dialogue / README.md
Ulaş Dilek
added app files
802f7a2
|
raw
history blame
1.08 kB
metadata
title: Gpt Claude Dialogue
emoji: 📚
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 3.28.2
app_file: app.py
pinned: false
license: mit

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. Clone this repository

  2. Install the requirements:

pip install gradio python-dotenv openai anthropic
  1. Obtain API keys for:

    • OpenAI's API
    • Anthropic's API
  2. 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. Run the gradio app:
gradio run app.py
  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!

  2. To close the app, stop the process in your terminal.