jonathanjordan21 commited on
Commit
007310c
·
verified ·
1 Parent(s): 587ee5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -757,7 +757,7 @@ def respond_pkb(message, history: list[tuple[str, str]]):
757
  vehicle = df_sample[df_sample["no_polisi"] == inp.strip()].copy()
758
 
759
  if vehicle.shape[0] == 0:
760
- out += f"\n\n---\nKendaraan {plate} Tidak Ditemukan\n"
761
  else:
762
  v_type = vehicle["nm_jenis_kb"].values[0]
763
  nilai_jual = vehicle["nilai_jual"].values[0]
 
757
  vehicle = df_sample[df_sample["no_polisi"] == inp.strip()].copy()
758
 
759
  if vehicle.shape[0] == 0:
760
+ out += f"\n\n---\nKendaraan {inp} Tidak Ditemukan\n"
761
  else:
762
  v_type = vehicle["nm_jenis_kb"].values[0]
763
  nilai_jual = vehicle["nilai_jual"].values[0]