curry tang commited on
Commit
cf96549
·
1 Parent(s): d711e23
Files changed (3) hide show
  1. README.md +21 -1
  2. app.py +1 -1
  3. screenshot.png +0 -0
README.md CHANGED
@@ -9,4 +9,24 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+
13
+ ## Starship 前端助手
14
+
15
+ ### 安装
16
+
17
+ 使用 pip:
18
+
19
+ pip install -r requirements.txt
20
+
21
+ 使用 [rye](https://rye.astral.sh/):
22
+
23
+ rye sync
24
+ source .venv/bin/activate
25
+
26
+
27
+
28
+
29
+ ### 屏幕截图
30
+
31
+ ![screenshot](screenshot.png)
32
+
app.py CHANGED
@@ -161,7 +161,7 @@ def translate_doc(_language_input, _language_output, _doc, _chat):
161
  with gr.Blocks() as app:
162
  chat_engine = gr.State(value=None)
163
  with gr.Row(variant='panel'):
164
- gr.Markdown("## 智能助手")
165
  with gr.Accordion('模型参数设置', open=False):
166
  with gr.Row():
167
  provider = gr.Dropdown(
 
161
  with gr.Blocks() as app:
162
  chat_engine = gr.State(value=None)
163
  with gr.Row(variant='panel'):
164
+ gr.Markdown("## 前端智能代码助手")
165
  with gr.Accordion('模型参数设置', open=False):
166
  with gr.Row():
167
  provider = gr.Dropdown(
screenshot.png ADDED