Spaces:
Running
Running
milwright
commited on
Commit
Β·
989c7e5
1
Parent(s):
476dfb0
Reorganize deployment workflow images for better visual flow
Browse files- support_docs.py +2 -30
support_docs.py
CHANGED
@@ -126,7 +126,7 @@ def create_support_docs():
|
|
126 |
**2.1 Upload Project Files**
|
127 |
- Navigate to Files tab
|
128 |
- Click "Upload files" or drag and drop
|
129 |
-
- Upload: `app.py`, `config.json`, `requirements.txt`
|
130 |
- Commit directly to main branch
|
131 |
""")
|
132 |
|
@@ -230,35 +230,7 @@ def create_support_docs():
|
|
230 |
- β
Green check: All settings configured correctly
|
231 |
- π Building: Space is updating with new changes
|
232 |
""")
|
233 |
-
|
234 |
-
with gr.Accordion("π README Customization", open=False):
|
235 |
-
gr.Markdown("""
|
236 |
-
### Space Metadata and Configuration
|
237 |
-
|
238 |
-
**YAML Frontmatter in README.md:**
|
239 |
-
- `sdk: gradio` - Specifies Gradio framework
|
240 |
-
- `app_file: app.py` - Main application file
|
241 |
-
- `license: mit` or `gpl-3.0` - License selection
|
242 |
-
- Space description and usage instructions
|
243 |
-
|
244 |
-
**Customization Options:**
|
245 |
-
- Update Space description and title
|
246 |
-
- Add usage instructions for students
|
247 |
-
- Include course-specific information
|
248 |
-
- Link to additional resources
|
249 |
-
""")
|
250 |
-
|
251 |
-
with gr.Row():
|
252 |
-
with gr.Column():
|
253 |
-
gr.Image(
|
254 |
-
value="img/img13.png",
|
255 |
-
label="Getting Started Documentation",
|
256 |
-
show_label=True,
|
257 |
-
interactive=False,
|
258 |
-
width=500,
|
259 |
-
container=False
|
260 |
-
)
|
261 |
-
|
262 |
with gr.Accordion("π§ Troubleshooting", open=False):
|
263 |
gr.Markdown("""
|
264 |
### Common Issues and Solutions
|
|
|
126 |
**2.1 Upload Project Files**
|
127 |
- Navigate to Files tab
|
128 |
- Click "Upload files" or drag and drop
|
129 |
+
- Upload: `app.py`, `config.json`, `requirements.txt`, `README.md`
|
130 |
- Commit directly to main branch
|
131 |
""")
|
132 |
|
|
|
230 |
- β
Green check: All settings configured correctly
|
231 |
- π Building: Space is updating with new changes
|
232 |
""")
|
233 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
with gr.Accordion("π§ Troubleshooting", open=False):
|
235 |
gr.Markdown("""
|
236 |
### Common Issues and Solutions
|