jonathanjordan21 commited on
Commit
2ca602e
·
verified ·
1 Parent(s): 25c1204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -700,6 +700,11 @@ async def greet_json(body: InputData):
700
  # swdkllj = 35000
701
  swdkllj = dict_swdkllj.get(vehicle["gol"].values[0])
702
 
 
 
 
 
 
703
  out += f"\nPKB \t\t: {int(pkb*d):,}"
704
  out += f"\nSWDKLLJ \t\t: {int(swdkllj*d):,}"
705
  out += f"\nPNBP STNK \t\t:{int(pnbp_stnk):,}"
 
700
  # swdkllj = 35000
701
  swdkllj = dict_swdkllj.get(vehicle["gol"].values[0])
702
 
703
+ print(vehicle["gol"].values[0])
704
+
705
+ if not swdkllj:
706
+ swdkllj = 0
707
+
708
  out += f"\nPKB \t\t: {int(pkb*d):,}"
709
  out += f"\nSWDKLLJ \t\t: {int(swdkllj*d):,}"
710
  out += f"\nPNBP STNK \t\t:{int(pnbp_stnk):,}"