Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,16 +15,13 @@ class ProjectScopingTool(Tool):
|
|
15 |
"""
|
16 |
Handles project scoping by collecting key details such as type, domain, budget, and timeline.
|
17 |
"""
|
18 |
-
def __init__
|
19 |
-
(self):
|
20 |
self.project_details = {
|
21 |
"type": None,
|
22 |
-
"domain"
|
23 |
-
: None,
|
24 |
"technical_requirements": {},
|
25 |
"budget_range": {},
|
26 |
-
"timeline"
|
27 |
-
: {}
|
28 |
}
|
29 |
|
30 |
def collect_project_details(self, project_type, domain, budget_min, budget_max, timeline_months):
|
@@ -34,8 +31,7 @@ class ProjectScopingTool(Tool):
|
|
34 |
self.project_details = {
|
35 |
"type": project_type,
|
36 |
"domain": domain,
|
37 |
-
"budget_range": {"min"
|
38 |
-
: budget_min, "max": budget_max},
|
39 |
"timeline": {"months": timeline_months}
|
40 |
}
|
41 |
return json.dumps(self.project_details, indent=2)
|
|
|
15 |
"""
|
16 |
Handles project scoping by collecting key details such as type, domain, budget, and timeline.
|
17 |
"""
|
18 |
+
def __init__(self):
|
|
|
19 |
self.project_details = {
|
20 |
"type": None,
|
21 |
+
"domain": None,
|
|
|
22 |
"technical_requirements": {},
|
23 |
"budget_range": {},
|
24 |
+
"timeline": {}
|
|
|
25 |
}
|
26 |
|
27 |
def collect_project_details(self, project_type, domain, budget_min, budget_max, timeline_months):
|
|
|
31 |
self.project_details = {
|
32 |
"type": project_type,
|
33 |
"domain": domain,
|
34 |
+
"budget_range": {"min": budget_min, "max": budget_max},
|
|
|
35 |
"timeline": {"months": timeline_months}
|
36 |
}
|
37 |
return json.dumps(self.project_details, indent=2)
|