Andrew Tanny Liem commited on
Commit ·
ef5c937
1
Parent(s): 20c453a
fix README.md
Browse files
README.md
CHANGED
|
@@ -20,8 +20,10 @@ Run Locally
|
|
| 20 |
1. Python 3.9+
|
| 21 |
2. Install deps:
|
| 22 |
pip install -r requirements.txt
|
| 23 |
-
3. (Optional)
|
| 24 |
-
export HF_MODEL=
|
|
|
|
|
|
|
| 25 |
4. Start the app:
|
| 26 |
python app.py
|
| 27 |
5. Click “Sign in” to grant the app an access token for the Hugging Face Inference API.
|
|
@@ -30,7 +32,9 @@ Deploy on Hugging Face Spaces
|
|
| 30 |
1. Create a new Space (SDK: Gradio).
|
| 31 |
2. Add files (app.py, requirements.txt, README.md). Push via Git.
|
| 32 |
3. Users click “Sign in” to authorize Inference API use.
|
| 33 |
-
4. (Optional) Set
|
|
|
|
|
|
|
| 34 |
|
| 35 |
Persona & Scope
|
| 36 |
- Persona: Maya is friendly, busy, non‑technical; answers concretely; asks clarifying questions when prompts are vague.
|
|
|
|
| 20 |
1. Python 3.9+
|
| 21 |
2. Install deps:
|
| 22 |
pip install -r requirements.txt
|
| 23 |
+
3. (Optional) Model selection (default uses GPT‑OSS via Together):
|
| 24 |
+
export HF_MODEL=openai/gpt-oss-20b
|
| 25 |
+
# If using GPT‑OSS/Together, set provider key:
|
| 26 |
+
export TOGETHER_API_KEY=xxxxxxxxxxxxxxxx
|
| 27 |
4. Start the app:
|
| 28 |
python app.py
|
| 29 |
5. Click “Sign in” to grant the app an access token for the Hugging Face Inference API.
|
|
|
|
| 32 |
1. Create a new Space (SDK: Gradio).
|
| 33 |
2. Add files (app.py, requirements.txt, README.md). Push via Git.
|
| 34 |
3. Users click “Sign in” to authorize Inference API use.
|
| 35 |
+
4. (Optional) Set Space Variables:
|
| 36 |
+
- `HF_MODEL` (e.g., `openai/gpt-oss-20b`)
|
| 37 |
+
- `TOGETHER_API_KEY` (required for GPT‑OSS via Together)
|
| 38 |
|
| 39 |
Persona & Scope
|
| 40 |
- Persona: Maya is friendly, busy, non‑technical; answers concretely; asks clarifying questions when prompts are vague.
|