milwright commited on
Commit
c95ffa1
·
verified ·
1 Parent(s): 2d0f041

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -59
README.md DELETED
@@ -1,59 +0,0 @@
1
- ---
2
- title: My Custom Space
3
- emoji: 🤖
4
- colorFrom: blue
5
- colorTo: red
6
- sdk: gradio
7
- sdk_version: 5.37.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- # My Custom Space
13
-
14
-
15
-
16
- ## Quick Deploy to HuggingFace Spaces
17
-
18
- ### Step 1: Create the Space
19
- 1. Go to https://huggingface.co/spaces
20
- 2. Click "Create new Space"
21
- 3. Choose a name for your Space
22
- 4. Select **Gradio** as the SDK
23
- 5. Set visibility (Public/Private)
24
- 6. Click "Create Space"
25
-
26
- ### Step 2: Upload Files
27
- 1. In your new Space, click "Files" tab
28
- 2. Upload these files from the zip:
29
- - `app.py`
30
- - `requirements.txt`
31
- 3. Wait for "Building" to complete
32
-
33
- ### Step 3: Add API Key
34
- 1. Go to Settings (gear icon)
35
- 2. Click "Variables and secrets"
36
- 3. Click "New secret"
37
- 4. Name: `OPENROUTER_API_KEY`
38
- 5. Value: Your OpenRouter API key
39
- 6. Click "Add"
40
-
41
-
42
-
43
- ### Step 4: Get Your API Key
44
- 1. Go to https://openrouter.ai/keys
45
- 2. Sign up/login if needed
46
- 3. Click "Create Key"
47
- 4. Copy the key (starts with `sk-or-`)
48
-
49
- ### Step 5: Test Your Space
50
- - Go back to "App" tab
51
- - Your Space should be running!
52
- - Try the example prompts or ask a question
53
-
54
- ## Configuration
55
-
56
- - **Model**: google/gemini-2.0-flash-001
57
- - **Temperature**: 0.7
58
- - **Max Tokens**: 1500
59
- - **API Key Variable**: OPENROUTER_API_KEY