Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import json
|
3 |
-
from smolagents import CodeAgent
|
4 |
-
tool, Tool, FinalAnswerTool, HfApiModel, load_tool
|
5 |
|
6 |
final_answer = FinalAnswerTool()
|
7 |
model = HfApiModel(model_id='Qwen/Qwen2.5-Coder-32B-Instruct')
|
@@ -18,7 +17,8 @@ class ProjectScopingTool(Tool):
|
|
18 |
"description": "The type of project (e.g., 'web', 'blockchain', 'ai').",
|
19 |
},
|
20 |
"domain": {
|
21 |
-
"type": "string"
|
|
|
22 |
"description": "The industry or field related to the project (e.g., 'finance', 'healthcare').",
|
23 |
},
|
24 |
"budget_min": {
|
|
|
1 |
import gradio as gr
|
2 |
import json
|
3 |
+
from smolagents import CodeAgent, tool, Tool, FinalAnswerTool, HfApiModel, load_tool
|
|
|
4 |
|
5 |
final_answer = FinalAnswerTool()
|
6 |
model = HfApiModel(model_id='Qwen/Qwen2.5-Coder-32B-Instruct')
|
|
|
17 |
"description": "The type of project (e.g., 'web', 'blockchain', 'ai').",
|
18 |
},
|
19 |
"domain": {
|
20 |
+
"type": "string"
|
21 |
+
,
|
22 |
"description": "The industry or field related to the project (e.g., 'finance', 'healthcare').",
|
23 |
},
|
24 |
"budget_min": {
|