Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ For any questions, please check [FAQ](https://github.com/open-sciencelab/GraphGe
```bash
python -m webui.app
```

For hot-reload during development, run
```bash
PYTHONPATH=. gradio webui/app.py
```


![ui](https://github.com/user-attachments/assets/3024e9bc-5d45-45f8-a4e6-b57bd2350d84)
Expand Down
6 changes: 0 additions & 6 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,6 @@ GraphGen 首先根据源文本构建细粒度的知识图谱,然后利用期
```bash
python -m webui.app
```

如果在开发过程中需要热重载,请运行

```bash
PYTHONPATH=. gradio webui/app.py
```


![ui](https://github.com/user-attachments/assets/3024e9bc-5d45-45f8-a4e6-b57bd2350d84)
Expand Down
10 changes: 9 additions & 1 deletion webui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,15 @@ def toggle_partition_params(method):
with gr.Accordion(label=_("Generation Config"), open=False):
gr.Markdown(value=_("Generation Config Info"))
mode = gr.Radio(
choices=["atomic", "multi_hop", "aggregated", "CoT"],
choices=[
"atomic",
"multi_hop",
"aggregated",
"CoT",
"multi_choice",
"multi_answer",
"fill_in_blank",
],
label=_("Mode"),
value="aggregated",
interactive=True,
Expand Down
Loading