milwright commited on
Commit
9ba40e3
Β·
verified Β·
1 Parent(s): 8d2d3d0

Update support_docs.py

Browse files
Files changed (1) hide show
  1. support_docs.py +9 -10
support_docs.py CHANGED
@@ -26,9 +26,6 @@ def create_support_docs():
26
  - HuggingFace account (free)
27
  - OpenRouter API key
28
  - Basic understanding of AI assistants
29
-
30
- ---
31
-
32
  """)
33
 
34
  with gr.Accordion("πŸ“ Step 1: Configure Your Space", open=False):
@@ -53,7 +50,8 @@ def create_support_docs():
53
  - **Recommended**: Add a HuggingFace token (`HF_TOKEN`) to make your space customizable over time through a configuration editor.
54
  - **Optional**: Set an optional password (`ACCESS_CODE`) to limit who can access your space. Any value goes.
55
 
56
- #### 1f. Upload `config.json`Done this before? Upload an existing `config.json` files to redeploy your Space with new settings and recent versions.
 
57
  """)
58
 
59
  with gr.Accordion("πŸ’¬ Step 2: Preview Your Assistant", open=False):
@@ -72,9 +70,6 @@ def create_support_docs():
72
  - `README.md`: Deployment instructions
73
 
74
  **Deployment Overview:** Generate Package and Create Space β†’ Upload Files and Configure Secrets β†’ Monitor Build and Verify
75
-
76
- ---
77
-
78
  """)
79
 
80
  with gr.Accordion("Step 3a: Generate & Create Space", open=False):
@@ -199,12 +194,12 @@ def create_support_docs():
199
 
200
  with gr.Accordion("Step 4: Monitor Build & Verify Configuration", open=False):
201
  gr.Markdown("""
202
- **4.1 Build Monitoring**
203
  - Space will show "Building..." status
204
  - Monitor build logs for errors
205
  - Wait 1-3 minutes for completion
206
 
207
- **4.2 Configuration Verification**
208
  - Check Configuration Status panel
209
  - API Key should show "Configured and valid" βœ…
210
  - Test chat interface with example prompts
@@ -231,11 +226,15 @@ def create_support_docs():
231
  )
232
 
233
  gr.Markdown("""
234
- **Configuration Status Indicators:**
235
  - ❌ Red X: API key not configured or invalid
236
  - βœ… Green check: All settings configured correctly
237
  - πŸ”„ Building: Space is updating with new changes
238
  """)
 
 
 
 
239
 
240
  with gr.Accordion("πŸ”§ Troubleshooting", open=False):
241
  gr.Markdown("""
 
26
  - HuggingFace account (free)
27
  - OpenRouter API key
28
  - Basic understanding of AI assistants
 
 
 
29
  """)
30
 
31
  with gr.Accordion("πŸ“ Step 1: Configure Your Space", open=False):
 
50
  - **Recommended**: Add a HuggingFace token (`HF_TOKEN`) to make your space customizable over time through a configuration editor.
51
  - **Optional**: Set an optional password (`ACCESS_CODE`) to limit who can access your space. Any value goes.
52
 
53
+ #### 1f. Upload `config.json`
54
+ Done this before? Upload your `config.json` files to redeploy your Space with new settings and recent versions.
55
  """)
56
 
57
  with gr.Accordion("πŸ’¬ Step 2: Preview Your Assistant", open=False):
 
70
  - `README.md`: Deployment instructions
71
 
72
  **Deployment Overview:** Generate Package and Create Space β†’ Upload Files and Configure Secrets β†’ Monitor Build and Verify
 
 
 
73
  """)
74
 
75
  with gr.Accordion("Step 3a: Generate & Create Space", open=False):
 
194
 
195
  with gr.Accordion("Step 4: Monitor Build & Verify Configuration", open=False):
196
  gr.Markdown("""
197
+ **4a. Build Monitoring**
198
  - Space will show "Building..." status
199
  - Monitor build logs for errors
200
  - Wait 1-3 minutes for completion
201
 
202
+ **4b. Configuration Verification**
203
  - Check Configuration Status panel
204
  - API Key should show "Configured and valid" βœ…
205
  - Test chat interface with example prompts
 
226
  )
227
 
228
  gr.Markdown("""
229
+ **4c. Configuration Status Indicators:**
230
  - ❌ Red X: API key not configured or invalid
231
  - βœ… Green check: All settings configured correctly
232
  - πŸ”„ Building: Space is updating with new changes
233
  """)
234
+
235
+ gr.Markdown("""
236
+ ---
237
+ """)
238
 
239
  with gr.Accordion("πŸ”§ Troubleshooting", open=False):
240
  gr.Markdown("""