Farhan Beg commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
Run your own AI agent with a chat interface on Hugging Face Spaces — for free.
|
| 4 |
|
|
@@ -17,7 +29,7 @@ All credit goes to the original creators. This repo just wires them together.
|
|
| 17 |
|
| 18 |
[](https://huggingface.co/spaces/f4b404/hermes?duplicate=true)
|
| 19 |
|
| 20 |
-
Click the badge above, name your space
|
| 21 |
|
| 22 |
### 2. Add Your Secrets
|
| 23 |
|
|
@@ -26,8 +38,8 @@ Go to **Settings → Variables and secrets** in your new Space and add these:
|
|
| 26 |
| Secret | What It's For | How to Get It |
|
| 27 |
|--------|---------------|---------------|
|
| 28 |
| `GATEWAY_TOKEN` | Your password for logging into the chat | Make up any strong password |
|
| 29 |
-
| `HF_TOKEN` | Saves your chats and settings so they don't disappear | [
|
| 30 |
-
| `CLOUDFLARE_WORKERS_TOKEN` | Keeps your Space awake and lets Telegram work | [Create a token here](https://dash.cloudflare.com/profile/api-tokens)
|
| 31 |
|
| 32 |
### 3. Add an AI Provider
|
| 33 |
|
|
@@ -51,6 +63,8 @@ HuggingMes + Hermes WebUI router listening on 0.0.0.0:7861
|
|
| 51 |
```
|
| 52 |
|
| 53 |
Open your Space URL (`https://your-name.hf.space`) in a **new tab**, enter your `GATEWAY_TOKEN`, and start chatting.
|
|
|
|
|
|
|
| 54 |
|
| 55 |
> **Pro tip:** Bookmark the direct `*.hf.space` URL — it works better on mobile than the Hugging Face embed.
|
| 56 |
|
|
@@ -89,7 +103,7 @@ When `HF_TOKEN` is set:
|
|
| 89 |
|
| 90 |
## Want It on Your Phone?
|
| 91 |
|
| 92 |
-
|
| 93 |
|
| 94 |
---
|
| 95 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: {{title}}
|
| 3 |
+
emoji: {{emoji}}
|
| 4 |
+
colorFrom: {{colorFrom}}
|
| 5 |
+
colorTo: {{colorTo}}
|
| 6 |
+
sdk: {{sdk}}
|
| 7 |
+
sdk_version: "{{sdkVersion}}"
|
| 8 |
+
{{#pythonVersion}}
|
| 9 |
+
python_version: "{{pythonVersion}}"
|
| 10 |
+
{{/pythonVersion}}
|
| 11 |
+
app_file: app.py
|
| 12 |
+
pinned: false
|
| 13 |
+
---
|
| 14 |
|
| 15 |
Run your own AI agent with a chat interface on Hugging Face Spaces — for free.
|
| 16 |
|
|
|
|
| 29 |
|
| 30 |
[](https://huggingface.co/spaces/f4b404/hermes?duplicate=true)
|
| 31 |
|
| 32 |
+
Click the badge above, name your space → pick **CPU Basic (Free)** → and keep it public(else the .hf.space urls won't work).
|
| 33 |
|
| 34 |
### 2. Add Your Secrets
|
| 35 |
|
|
|
|
| 38 |
| Secret | What It's For | How to Get It |
|
| 39 |
|--------|---------------|---------------|
|
| 40 |
| `GATEWAY_TOKEN` | Your password for logging into the chat | Make up any strong password |
|
| 41 |
+
| `HF_TOKEN` | Saves your chats and settings so they don't disappear | [Go here](https://huggingface.co/settings/tokens) → Create new token → Pick write|
|
| 42 |
+
| `CLOUDFLARE_WORKERS_TOKEN` | Keeps your Space awake and lets Telegram work | [Create a token here](https://dash.cloudflare.com/profile/api-tokens) choose **Edit Cloudflare Workers** template |
|
| 43 |
|
| 44 |
### 3. Add an AI Provider
|
| 45 |
|
|
|
|
| 63 |
```
|
| 64 |
|
| 65 |
Open your Space URL (`https://your-name.hf.space`) in a **new tab**, enter your `GATEWAY_TOKEN`, and start chatting.
|
| 66 |
+
Open Hermes Dashboard from here (`https://f4b404-hermes.hf.space/hm/app`)
|
| 67 |
+
|
| 68 |
|
| 69 |
> **Pro tip:** Bookmark the direct `*.hf.space` URL — it works better on mobile than the Hugging Face embed.
|
| 70 |
|
|
|
|
| 103 |
|
| 104 |
## Want It on Your Phone?
|
| 105 |
|
| 106 |
+
Use the same (`https://your-name.hf.space`) url in android and then you can install it as Progressive Web App(PWA) or just use the same url on any browser for normal chat using the web.
|
| 107 |
|
| 108 |
---
|
| 109 |
|