Spaces:
Running
Running
Merge remote-tracking branch 'origin/main' into main-fixed
Browse files- .gitattributes +13 -0
- README.md +4 -33
- img/add-secret-api.png +3 -0
- img/create.png +3 -0
- img/deployment.png +0 -0
- img/drop-files.png +3 -0
- img/grounding.png +3 -0
- img/identity.png +3 -0
- img/instructions.png +3 -0
- img/march.png +3 -0
- img/preview-config.png +3 -0
- img/preview.png +3 -0
- img/settings.png +3 -0
- img/space.png +3 -0
- img/upload.png +3 -0
- img/uploading.png +3 -0
- img/variables.png +3 -0
.gitattributes
CHANGED
@@ -91,3 +91,16 @@ img/upload-and-commit.png filter=lfs diff=lfs merge=lfs -text
|
|
91 |
img/upload-config.png filter=lfs diff=lfs merge=lfs -text
|
92 |
img/upload-files.png filter=lfs diff=lfs merge=lfs -text
|
93 |
img/variables-and-secrets.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
img/upload-config.png filter=lfs diff=lfs merge=lfs -text
|
92 |
img/upload-files.png filter=lfs diff=lfs merge=lfs -text
|
93 |
img/variables-and-secrets.png filter=lfs diff=lfs merge=lfs -text
|
94 |
+
img/add-secret-api.png filter=lfs diff=lfs merge=lfs -text
|
95 |
+
img/create.png filter=lfs diff=lfs merge=lfs -text
|
96 |
+
img/drop-files.png filter=lfs diff=lfs merge=lfs -text
|
97 |
+
img/grounding.png filter=lfs diff=lfs merge=lfs -text
|
98 |
+
img/identity.png filter=lfs diff=lfs merge=lfs -text
|
99 |
+
img/instructions.png filter=lfs diff=lfs merge=lfs -text
|
100 |
+
img/preview.png filter=lfs diff=lfs merge=lfs -text
|
101 |
+
img/settings.png filter=lfs diff=lfs merge=lfs -text
|
102 |
+
img/space.png filter=lfs diff=lfs merge=lfs -text
|
103 |
+
img/upload.png filter=lfs diff=lfs merge=lfs -text
|
104 |
+
img/uploading.png filter=lfs diff=lfs merge=lfs -text
|
105 |
+
img/variables.png filter=lfs diff=lfs merge=lfs -text
|
106 |
+
img/march.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1 |
---
|
2 |
title: ChatUI Helper
|
3 |
emoji: 💬
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.37.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: gpl-3.0
|
11 |
short_description: Create AI chat interfaces for HuggingFace Spaces
|
|
|
|
|
12 |
---
|
13 |
|
14 |
# ChatUI Helper
|
@@ -45,29 +47,6 @@ A comprehensive tool for creating, configuring, and deploying customizable AI ch
|
|
45 |
- **File Upload Support**: Test document processing capabilities
|
46 |
- **Conversation Export**: Download chat history as markdown
|
47 |
|
48 |
-
## 🚀 Quick Start
|
49 |
-
|
50 |
-
### Local Development
|
51 |
-
```bash
|
52 |
-
# Clone the repository
|
53 |
-
git clone https://huggingface.co/spaces/milwright/chatui-helper
|
54 |
-
|
55 |
-
# Install dependencies
|
56 |
-
pip install -r requirements.txt
|
57 |
-
|
58 |
-
# Run the application
|
59 |
-
python app.py
|
60 |
-
```
|
61 |
-
|
62 |
-
### Environment Variables (Optional)
|
63 |
-
```bash
|
64 |
-
# For preview functionality
|
65 |
-
API_KEY=sk-or-your-openrouter-key
|
66 |
-
|
67 |
-
# For HuggingFace integration
|
68 |
-
HF_TOKEN=your-huggingface-token
|
69 |
-
```
|
70 |
-
|
71 |
## 📦 Generated Space Contents
|
72 |
|
73 |
Each generated package includes:
|
@@ -110,14 +89,6 @@ The application includes comprehensive built-in documentation:
|
|
110 |
- **Troubleshooting**: Common issues and solutions
|
111 |
- **Additional Resources**: Links to relevant documentation
|
112 |
|
113 |
-
## 🏗️ Architecture
|
114 |
-
|
115 |
-
### Core Components
|
116 |
-
- **SpaceGenerator**: Handles configuration and package generation
|
117 |
-
- **ConfigurationManager**: Manages settings with automatic backups
|
118 |
-
- **Support Documentation**: Nested accordion interface for easy navigation
|
119 |
-
- **Template System**: String-based templating for code generation
|
120 |
-
|
121 |
### File Structure
|
122 |
```
|
123 |
chatui-helper/
|
|
|
1 |
---
|
2 |
title: ChatUI Helper
|
3 |
emoji: 💬
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: red
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.37.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: gpl-3.0
|
11 |
short_description: Create AI chat interfaces for HuggingFace Spaces
|
12 |
+
thumbnail: >-
|
13 |
+
https://cdn-uploads.huggingface.co/production/uploads/65a0caa15dfd8b9b1f3aa3d3/uTPnm-wnLUt3m6dAvwqKT.png
|
14 |
---
|
15 |
|
16 |
# ChatUI Helper
|
|
|
47 |
- **File Upload Support**: Test document processing capabilities
|
48 |
- **Conversation Export**: Download chat history as markdown
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
## 📦 Generated Space Contents
|
51 |
|
52 |
Each generated package includes:
|
|
|
89 |
- **Troubleshooting**: Common issues and solutions
|
90 |
- **Additional Resources**: Links to relevant documentation
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
### File Structure
|
93 |
```
|
94 |
chatui-helper/
|
img/add-secret-api.png
ADDED
![]() |
Git LFS Details
|
img/create.png
ADDED
![]() |
Git LFS Details
|
img/deployment.png
ADDED
![]() |
img/drop-files.png
ADDED
![]() |
Git LFS Details
|
img/grounding.png
ADDED
![]() |
Git LFS Details
|
img/identity.png
ADDED
![]() |
Git LFS Details
|
img/instructions.png
ADDED
![]() |
Git LFS Details
|
img/march.png
ADDED
![]() |
Git LFS Details
|
img/preview-config.png
ADDED
![]() |
Git LFS Details
|
img/preview.png
ADDED
![]() |
Git LFS Details
|
img/settings.png
ADDED
![]() |
Git LFS Details
|
img/space.png
ADDED
![]() |
Git LFS Details
|
img/upload.png
ADDED
![]() |
Git LFS Details
|
img/uploading.png
ADDED
![]() |
Git LFS Details
|
img/variables.png
ADDED
![]() |
Git LFS Details
|