jonathanjordan21 commited on
Commit
2909e49
·
verified ·
1 Parent(s): b9dfc6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -218,14 +218,14 @@ def build_outputs(results, descriptions, result_details, plate_number):
218
  for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
219
  out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', str(res))}\n"
220
 
221
- out += "\n----------------------------\nEstimasi biaya: "
222
 
223
  if len(results) > 1:
224
  out += " + ".join([f"Rp{x}" for x in results])
225
  out += f" = {sum(results)}"
226
  else:
227
  out += str(results[0])
228
- out += "\n----------------------------\n"
229
  return out
230
 
231
 
 
218
  for i, (res,desc,detail) in enumerate(zip(results, descriptions, result_details)):
219
  out += f"{i+1}. {detail}\nDetail perhitungan: {desc.replace('harga_jual', str(res))}\n"
220
 
221
+ out += "----------------------------\nEstimasi biaya: "
222
 
223
  if len(results) > 1:
224
  out += " + ".join([f"Rp{x}" for x in results])
225
  out += f" = {sum(results)}"
226
  else:
227
  out += str(results[0])
228
+ out += "\n----------------------------\n\n--------------------------------"
229
  return out
230
 
231