WinstonDeng commited on
Commit
8724cc6
·
verified ·
1 Parent(s): 17eaf84

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -11
README.md CHANGED
@@ -1,20 +1,36 @@
1
  ---
2
- title: Step 3.5 Flash
3
- emoji: 🚀
4
- colorFrom: red
5
- colorTo: red
6
  sdk: docker
7
  app_port: 8501
8
- tags:
9
- - streamlit
10
  pinned: false
11
- short_description: Streamlit template space
12
  license: apache-2.0
13
  ---
14
 
15
- # Welcome to Streamlit!
16
 
17
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
18
 
19
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Step-3.5-Flash Chatbot
3
+ emoji: "🚀"
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: docker
7
  app_port: 8501
 
 
8
  pinned: false
 
9
  license: apache-2.0
10
  ---
11
 
12
+ # Step-3.5-Flash Chatbot
13
 
14
+ 基于 [stepfun-ai/Step-3.5-Flash](https://huggingface.co/stepfun-ai/Step-3.5-Flash) 模型的智能对话助手,使用官方 API。
15
 
16
+ ## 特性
17
+
18
+ - 左右分栏布局:左侧展示思考过程,右侧展示对话
19
+ - 多轮对话支持
20
+ - 流式输出
21
+ - 可调节参数(temperature, top_p, max_tokens)
22
+ - 支持最大 128k context
23
+
24
+ ## 环境变量
25
+
26
+ 在 HuggingFace Space 的 Settings > Repository secrets 中设置:
27
+
28
+ - [`STEPFUN_API_KEY`](https://platform.stepfun.com/interface-key): StepFun 官方 API Key [https://platform.stepfun.com/interface-key](https://platform.stepfun.com/interface-key)
29
+
30
+ ## 本地运行
31
+
32
+ ```bash
33
+ export STEPFUN_API_KEY="your-api-key"
34
+ pip install streamlit httpx
35
+ streamlit run app.py
36
+ ```