giv3me4shot commited on
Commit
fc5ba7b
Β·
verified Β·
1 Parent(s): 2876aa4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -27
README.md CHANGED
@@ -1,40 +1,72 @@
1
  ---
2
- title: Private Bot
3
- emoji: πŸ’»
4
- colorFrom: indigo
5
- colorTo: gray
6
  sdk: gradio
7
- sdk_version: 5.33.0
8
  app_file: app.py
9
  pinned: false
10
- license: apache-2.0
11
- short_description: Black hat type
12
  ---
13
- 🌟 OpenRouter Multi-Model Chat
14
 
15
- A beautiful chat interface to interact with multiple AI models through OpenRouter API.
16
 
17
- Features:
18
- - πŸ€– Multiple AI models (GPT-4, Claude 3, Gemini, Llama, etc.)
19
- - πŸ’¬ Streaming responses
20
- - 🎨 Clean and modern UI
21
- - βš™οΈ Customizable parameters
22
- - πŸ“Š Model comparison
23
 
24
- Setup:
25
- 1. Get your API key from [OpenRouter](https://openrouter.ai)
26
- 2. Set `OPENROUTER_API_KEY` in Space Settings > Variables and Secrets
27
- 3. Start chatting!
28
 
29
- Available Models
30
- - GPT-4 Turbo
31
- - Claude 3 (Opus, Sonnet, Haiku)
32
- - Gemini Pro
33
- - Llama 3 70B
34
- - Mixtral 8x7B
35
- - And many more!
36
 
 
37
 
38
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
39
 
 
 
 
 
 
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: OpenRouter Multi-Model Chat
3
+ emoji: πŸ€–
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.19.0
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
 
11
  ---
 
12
 
13
+ # 🌟 OpenRouter Multi-Model Chat
14
 
15
+ <div align="center">
16
+ <img src="https://img.shields.io/badge/Gradio-4.19.0-blue" alt="Gradio">
17
+ <img src="https://img.shields.io/badge/Python-3.8+-green" alt="Python">
18
+ <img src="https://img.shields.io/badge/License-MIT-yellow" alt="License">
19
+ </div>
 
20
 
21
+ ## 🎯 Overview
 
 
 
22
 
23
+ A powerful multi-model chat interface that connects to OpenRouter API, giving you access to:
24
+ - **GPT-4** (OpenAI)
25
+ - **Claude 3** Opus, Sonnet, Haiku (Anthropic)
26
+ - **Gemini Pro** (Google)
27
+ - **Llama 3** 70B (Meta)
28
+ - **Mixtral 8x7B** (Mistral)
29
+ - And 10+ more models!
30
 
31
+ ## πŸš€ Quick Start
32
 
33
+ ### 1. Get API Key
34
+ - Sign up at [OpenRouter.ai](https://openrouter.ai)
35
+ - Go to [Keys](https://openrouter.ai/keys)
36
+ - Create new key
37
 
38
+ ### 2. Set API Key in Space
39
+ - Go to `Settings` β†’ `Variables and secrets`
40
+ - Add new secret:
41
+ - Name: `OPENROUTER_API_KEY`
42
+ - Value: `sk-or-v1-xxxxx`
43
 
44
+ ### 3. Start Chatting!
45
+ - Select your preferred model
46
+ - Type your message
47
+ - Enjoy AI responses!
48
+
49
+ ## πŸ’‘ Features
50
+
51
+ ### πŸ€– Multi-Model Support
52
+ Switch between different AI models with a single dropdown:
53
+ - **OpenAI**: GPT-4, GPT-3.5
54
+ - **Anthropic**: Claude 3 series
55
+ - **Google**: Gemini, PaLM
56
+ - **Open Source**: Llama, Mistral, Yi
57
+
58
+ ### βš™οΈ Advanced Controls
59
+ - **Temperature**: Control creativity (0 = focused, 2 = creative)
60
+ - **Max Tokens**: Limit response length
61
+ - **System Prompt**: Set custom instructions
62
+ - **Streaming**: Real-time response generation
63
+
64
+ ### 🎨 Beautiful UI
65
+ - Clean, modern interface
66
+ - Mobile responsive
67
+ - Dark/Light theme support
68
+ - Conversation history
69
+
70
+ ## πŸ“– Usage Examples
71
+
72
+ ### Basic Chat