Skip to content

Commit

Permalink
chore: exclude binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
imbajin committed Jul 4, 2024
1 parent 026a1b7 commit 1b2e971
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# User-specific files
logs/*.log
*.faiss
*.pkl

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
6 changes: 3 additions & 3 deletions hugegraph-llm/src/hugegraph_llm/demo/rag_web_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def build_kg(file, schema, disambiguate_word_sense, commit_to_hugegraph, build_v
graph_config_input = [
gr.Textbox(value=settings.graph_ip, label="ip"),
gr.Textbox(value=str(settings.graph_port), label="port"),
gr.Textbox(value=settings.graph_name, label="graph"),
gr.Textbox(value=settings.graph_user, label="user"),
gr.Textbox(value=settings.graph_pwd, label="pwd"),
gr.Textbox(value=settings.graph_name, label="graph")
gr.Textbox(value=settings.graph_pwd, label="pwd")
]
graph_config_button = gr.Button("apply configuration")

Expand Down Expand Up @@ -149,7 +149,7 @@ def llm_settings(llm_type):
gr.Textbox(value=settings.openai_api_key, label="api_key"),
gr.Textbox(value=settings.openai_api_base, label="api_base"),
gr.Textbox(value=settings.openai_language_model, label="model_name"),
gr.Textbox(value=str(settings.openai_max_tokens), label="max_token"),
gr.Textbox(value=settings.openai_max_tokens, label="max_token"),
]
elif llm_type == "qianfan_wenxin":
with gr.Row():
Expand Down

0 comments on commit 1b2e971

Please sign in to comment.