Skip to content

Commit 195f73a

Browse files
authored
fix gradio version and setup (#594)
2 parents fc5d899 + 8024607 commit 195f73a

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

owl/webapp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ def process_in_background():
867867
logs2,
868868
)
869869

870-
with gr.Blocks(title="OWL", theme=gr.themes.Soft(primary_hue="blue")) as app:
870+
with gr.Blocks(title="OWL") as app:
871871
gr.Markdown(
872872
"""
873873
# 🦉 OWL Multi-Agent Collaboration System
@@ -1092,7 +1092,6 @@ def process_in_background():
10921092
placeholder="Please enter your question...",
10931093
label="Question",
10941094
elem_id="question_input",
1095-
show_copy_button=True,
10961095
value="Open Brave search, summarize the github stars, fork counts, etc. of camel-ai's camel framework, and write the numbers into a python file using the plot package, save it locally, and run the generated python file. Note: You have been provided with the necessary tools to complete this task.",
10971096
)
10981097

@@ -1306,6 +1305,7 @@ def main():
13061305
app.queue()
13071306
app.launch(
13081307
share=False,
1308+
theme=gr.themes.Soft(primary_hue="blue"),
13091309
favicon_path=os.path.join(
13101310
os.path.dirname(__file__), "assets", "owl-favicon.ico"
13111311
),

owl/webapp_backup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ def create_ui():
628628
placeholder="请输入您的问题...",
629629
label="问题",
630630
elem_id="question_input",
631-
show_copy_button=True,
632631
)
633632

634633
# 增强版模块选择下拉菜单

owl/webapp_jp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,6 @@ def process_in_background():
10841084
placeholder="質問を入力してください...",
10851085
label="質問",
10861086
elem_id="question_input",
1087-
show_copy_button=True,
10881087
value="Googleで検索して、camel-aiのcamelフレームワークのGitHubスター数、フォーク数などを要約し、その数値をplotパッケージを使ってPythonファイルに書き込み、ローカルに保存して、生成したPythonファイルを実行してください。",
10891088
)
10901089

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ keywords = [
2323
dependencies = [
2424
"camel-ai[owl]==0.2.57",
2525
"docx2markdown>=0.1.1",
26-
"gradio>=3.50.2",
26+
"gradio>=6.4.0",
2727
"mcp-simple-arxiv==0.2.2",
2828
"mcp-server-fetch==2025.1.17",
2929
"xmltodict>=0.14.2",

0 commit comments

Comments
 (0)