Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def build_outputs(results, descriptions, result_details, plate_number):
|
|
217 |
out += f"\nWajib Pajak dengan NoPol {plate_number} ingin melakukan proses berikut:\n"
|
218 |
|
219 |
for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
|
220 |
-
harga_jual = vehicle.get("harga_jual")
|
221 |
out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', harga_jual)} = {res}\n"
|
222 |
|
223 |
out += "----------------------------\nEstimasi biaya: "
|
|
|
217 |
out += f"\nWajib Pajak dengan NoPol {plate_number} ingin melakukan proses berikut:\n"
|
218 |
|
219 |
for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
|
220 |
+
harga_jual = str(vehicle.get("harga_jual"))
|
221 |
out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', harga_jual)} = {res}\n"
|
222 |
|
223 |
out += "----------------------------\nEstimasi biaya: "
|