Skip to content

Commit c581d9e

Browse files
authored
Merge pull request #4 from open-sciencelab/fix-gradio-ui
typo(webui): use siliconcloud API key
2 parents b5a1b09 + 9d2a939 commit c581d9e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Furthermore, GraphGen incorporates multi-hop neighborhood sampling to capture co
3434

3535
## 🚀 Quick Start
3636

37+
Experience it on the [OpenXLab Application Center](https://openxlab.org.cn/apps/detail/tpoisonooo/GraphGen)
38+
3739
### Gradio Demo
3840

3941
```bash

webui/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def run_graphgen(*arguments: list, progress=gr.Progress()):
311311
with gr.Row(equal_height=True):
312312
with gr.Column(scale=3):
313313
api_key = gr.Textbox(
314-
label="SiliconCloud Token",
314+
label=_("SiliconCloud Token"),
315315
type="password",
316316
value="",
317317
info="https://cloud.siliconflow.cn/account/ak")

webui/translation.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"Synthesizer Model Info": "Model for constructing KGs and generating QAs",
88
"Trainee Model Info": "Model for training",
99
"Model Config": "Model Configuration",
10-
"Generation Config": "Generation Config"
10+
"Generation Config": "Generation Config",
11+
"SiliconCloud Token": "SiliconCloud API Key"
1112
},
1213
"zh": {
1314
"Title": "✨开箱即用的LLM训练数据生成框架✨",
@@ -17,6 +18,7 @@
1718
"Synthesizer Model Info": "用于构建知识图谱和生成问答的模型",
1819
"Trainee Model Info": "用于训练的模型",
1920
"Model Config": "模型配置",
20-
"Generation Config": "生成配置"
21+
"Generation Config": "生成配置",
22+
"SiliconCloud Token": "硅基流动 API Key"
2123
}
2224
}

0 commit comments

Comments
 (0)