mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
fix gradio version and setup (#594)
This commit is contained in:
@@ -867,7 +867,7 @@ def create_ui():
|
||||
logs2,
|
||||
)
|
||||
|
||||
with gr.Blocks(title="OWL", theme=gr.themes.Soft(primary_hue="blue")) as app:
|
||||
with gr.Blocks(title="OWL") as app:
|
||||
gr.Markdown(
|
||||
"""
|
||||
# 🦉 OWL Multi-Agent Collaboration System
|
||||
@@ -1092,7 +1092,6 @@ def create_ui():
|
||||
placeholder="Please enter your question...",
|
||||
label="Question",
|
||||
elem_id="question_input",
|
||||
show_copy_button=True,
|
||||
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.",
|
||||
)
|
||||
|
||||
@@ -1306,6 +1305,7 @@ def main():
|
||||
app.queue()
|
||||
app.launch(
|
||||
share=False,
|
||||
theme=gr.themes.Soft(primary_hue="blue"),
|
||||
favicon_path=os.path.join(
|
||||
os.path.dirname(__file__), "assets", "owl-favicon.ico"
|
||||
),
|
||||
|
||||
@@ -628,7 +628,6 @@ def create_ui():
|
||||
placeholder="请输入您的问题...",
|
||||
label="问题",
|
||||
elem_id="question_input",
|
||||
show_copy_button=True,
|
||||
)
|
||||
|
||||
# 增强版模块选择下拉菜单
|
||||
|
||||
@@ -1084,7 +1084,6 @@ def create_ui():
|
||||
placeholder="質問を入力してください...",
|
||||
label="質問",
|
||||
elem_id="question_input",
|
||||
show_copy_button=True,
|
||||
value="Googleで検索して、camel-aiのcamelフレームワークのGitHubスター数、フォーク数などを要約し、その数値をplotパッケージを使ってPythonファイルに書き込み、ローカルに保存して、生成したPythonファイルを実行してください。",
|
||||
)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ keywords = [
|
||||
dependencies = [
|
||||
"camel-ai[owl]==0.2.57",
|
||||
"docx2markdown>=0.1.1",
|
||||
"gradio>=3.50.2",
|
||||
"gradio>=6.4.0",
|
||||
"mcp-simple-arxiv==0.2.2",
|
||||
"mcp-server-fetch==2025.1.17",
|
||||
"xmltodict>=0.14.2",
|
||||
|
||||
Reference in New Issue
Block a user