Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import requests
|
|
3 |
import io
|
4 |
import random
|
5 |
import os
|
|
|
6 |
from PIL import Image
|
7 |
from deep_translator import GoogleTranslator
|
8 |
import json
|
@@ -151,7 +152,7 @@ css = """
|
|
151 |
footer {visibility: hidden !important;}
|
152 |
"""
|
153 |
|
154 |
-
with gr.
|
155 |
with gr.Tab("Basic Settings"):
|
156 |
with gr.Row():
|
157 |
with gr.Column(elem_id="prompt-container"):
|
|
|
3 |
import io
|
4 |
import random
|
5 |
import os
|
6 |
+
import time
|
7 |
from PIL import Image
|
8 |
from deep_translator import GoogleTranslator
|
9 |
import json
|
|
|
152 |
footer {visibility: hidden !important;}
|
153 |
"""
|
154 |
|
155 |
+
with gr.Block (theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink")) as dalle:
|
156 |
with gr.Tab("Basic Settings"):
|
157 |
with gr.Row():
|
158 |
with gr.Column(elem_id="prompt-container"):
|