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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -15,6 +15,7 @@ Oleh :
15
  import os
16
  import gradio as gr
17
  from gradio_client import Client, handle_file
 
18
  from themes import IndonesiaTheme
19
  from PIL import Image
20
  import random
 
15
  import os
16
  import gradio as gr
17
  from gradio_client import Client, handle_file
18
+ from gradio_client.exceptions import AppError # Import untuk menangkap kesalahan Gradio Client
19
  from themes import IndonesiaTheme
20
  from PIL import Image
21
  import random