gpt_claude_dialogue / README.md
Ulaş Dilek
added app files
802f7a2
|
raw
history blame
1.08 kB
---
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:
```bash
pip install gradio python-dotenv openai anthropic
```
3. Obtain API keys for:
- OpenAI's API
- Anthropic's API
4. 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"
```
5. Run the gradio app:
```bash
gradio run app.py
```
6. The gradio app will launch in your browser. Type a context to start a conversation between GPT-3.5 Turbo and Claude-v1.3!
7. To close the app, stop the process in your terminal.