curry tang
commited on
Commit
·
99464c1
1
Parent(s):
cf96549
update
Browse files
README.md
CHANGED
@@ -24,6 +24,10 @@ pinned: false
|
|
24 |
source .venv/bin/activate
|
25 |
|
26 |
|
|
|
|
|
|
|
|
|
27 |
|
28 |
|
29 |
### 屏幕截图
|
|
|
24 |
source .venv/bin/activate
|
25 |
|
26 |
|
27 |
+
支持的模型:
|
28 |
+
[![DeepSeek](https://img.shields.io/badge/LLM-DeepSeek-blue)](https://deepseek.com/)
|
29 |
+
[![通义](https://img.shields.io/badge/LLM-Tongyi-blue)](https://dashscope.aliyun.com/)
|
30 |
+
[![OpenRouter](https://img.shields.io/badge/LLM-OpenRouter-blue)](https://openrouter.ai/)
|
31 |
|
32 |
|
33 |
### 屏幕截图
|
app.py
CHANGED
@@ -6,6 +6,7 @@ import base64
|
|
6 |
from PIL import Image
|
7 |
import io
|
8 |
from prompts import web_prompt
|
|
|
9 |
|
10 |
|
11 |
deep_seek_llm = DeepSeekLLM(api_key=settings.deep_seek_api_key)
|
@@ -161,7 +162,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(
|
|
|
6 |
from PIL import Image
|
7 |
import io
|
8 |
from prompts import web_prompt
|
9 |
+
from banner import banner_md
|
10 |
|
11 |
|
12 |
deep_seek_llm = DeepSeekLLM(api_key=settings.deep_seek_api_key)
|
|
|
162 |
with gr.Blocks() as app:
|
163 |
chat_engine = gr.State(value=None)
|
164 |
with gr.Row(variant='panel'):
|
165 |
+
gr.Markdown(banner_md)
|
166 |
with gr.Accordion('模型参数设置', open=False):
|
167 |
with gr.Row():
|
168 |
provider = gr.Dropdown(
|
banner.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
banner_md = '''
|
2 |
+
## 前端智能代码助手
|
3 |
+
'''
|