jamesbright commited on
Commit
a06df16
·
verified ·
1 Parent(s): 34c249a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -34,7 +34,7 @@ class ProjectScopingTool(Tool):
34
  "description": "The maximum budget allocated for the project.",
35
  },
36
  "timeline_months": {
37
- "type": "int",
38
  "description": "The expected duration of the project in months.",
39
  },
40
  }
@@ -99,11 +99,11 @@ class CostEstimationTool(Tool):
99
 
100
  inputs = {
101
  "architecture_size": {
102
- "type": "int",
103
  "description": "The estimated complexity of the architecture on a scale from 1 to 10.",
104
  },
105
  "timeline_months": {
106
- "type": "int",
107
  "description": "The project duration in months.",
108
  }
109
  }
@@ -206,7 +206,8 @@ with gr.Blocks() as demo:
206
  with gr.Row():
207
  budget_min = gr.Number(label="Min Budget ($)")
208
  budget_max = gr.Number(label="Max Budget ($)")
209
- timeline_months = gr.Number(label="Timeline (Months)")
 
210
 
211
  project_output = gr.Textbox(label="Project Details", interactive=False)
212
  arch_output = gr.Textbox(label="Technical Architecture", interactive=False)
 
34
  "description": "The maximum budget allocated for the project.",
35
  },
36
  "timeline_months": {
37
+ "type": "number",
38
  "description": "The expected duration of the project in months.",
39
  },
40
  }
 
99
 
100
  inputs = {
101
  "architecture_size": {
102
+ "type": "number",
103
  "description": "The estimated complexity of the architecture on a scale from 1 to 10.",
104
  },
105
  "timeline_months": {
106
+ "type": "number",
107
  "description": "The project duration in months.",
108
  }
109
  }
 
206
  with gr.Row():
207
  budget_min = gr.Number(label="Min Budget ($)")
208
  budget_max = gr.Number(label="Max Budget ($)")
209
+ timeline_months = gr
210
+ .Number(label="Timeline (Months)")
211
 
212
  project_output = gr.Textbox(label="Project Details", interactive=False)
213
  arch_output = gr.Textbox(label="Technical Architecture", interactive=False)