Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -180,11 +180,12 @@ Working Capital: Rp 50,000,000"""
|
|
| 180 |
)
|
| 181 |
generate_button = gr.Button("Generate Financials")
|
| 182 |
output_file = gr.File(label="Download Excel File")
|
| 183 |
-
|
|
|
|
| 184 |
generate_button.click(
|
| 185 |
fn=generate_financials,
|
| 186 |
inputs=assumptions,
|
| 187 |
-
outputs=output_file
|
| 188 |
)
|
| 189 |
|
| 190 |
demo.launch()
|
|
|
|
| 180 |
)
|
| 181 |
generate_button = gr.Button("Generate Financials")
|
| 182 |
output_file = gr.File(label="Download Excel File")
|
| 183 |
+
pl_chart = gr.Image(label="Profit and Loss Chart")
|
| 184 |
+
cf_chart = gr.Image(label="Cashflow Chart")
|
| 185 |
generate_button.click(
|
| 186 |
fn=generate_financials,
|
| 187 |
inputs=assumptions,
|
| 188 |
+
outputs=output_file, pl_chart, cf_chart
|
| 189 |
)
|
| 190 |
|
| 191 |
demo.launch()
|