Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|