Skip to content

Easy to use! Claude API Streamlit Version! Build your project upon this!

License

Notifications You must be signed in to change notification settings

jw782cn/Claude-Streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude - Streamlit Version

CleanShot 2023-08-02 at 11.52.34@2x

  • Provide a simple Streamlit Version with ChatGPT and Claude API.

  • You can build on top of it to accelerate your project progress.

  • Deploy to Streamlit and share with your friends!

Get Started

First, set up your local environment:

mkdir .streamlit

and create a file called secrets.toml, put your api-key inside:

OPENAI_API_KEY = "your-openai-api-key"
OPENAI_API_BASE = "https://api.openai.com/v1"
PROMPTLAYER_API_KEY = "your-promptlayer-api-key"
ANTHROPIC_API_KEY = "your-anthropic-api-key"

Note: I used promptlayer to log all my openai requests. You can disable it in config.py file.

To run this project in localhost, run bash command below:

streamlit run claude.py

More Screenshots

CleanShot 2023-08-02 at 12.17.32@2x

CleanShot 2023-08-02 at 12.20.20@2x

About

Easy to use! Claude API Streamlit Version! Build your project upon this!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages