Deddy commited on
Commit
0f1a7d7
β€’
1 Parent(s): ebcd661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def virtual_tryon(person_img, garment_img, garment_des, seed, randomize_seed, de
86
  # Tampilkan hasil dan kalimat acak yang menarik
87
  return result[0], random.choice(compliments), "Proses selesai."
88
 
89
- except gradio_client.exceptions.AppError as e:
90
  # Tampilkan pesan error di result_info jika terjadi kesalahan API
91
  return None, str(e), "Terjadi kesalahan selama proses."
92
 
 
86
  # Tampilkan hasil dan kalimat acak yang menarik
87
  return result[0], random.choice(compliments), "Proses selesai."
88
 
89
+ except AppError as e:
90
  # Tampilkan pesan error di result_info jika terjadi kesalahan API
91
  return None, str(e), "Terjadi kesalahan selama proses."
92