Update demo/generation_frontend.py
Browse files
demo/generation_frontend.py
CHANGED
|
@@ -157,7 +157,7 @@ def build_generation(args):
|
|
| 157 |
global CONTROLLER_URL
|
| 158 |
CONTROLLER_URL = args.controller_url
|
| 159 |
|
| 160 |
-
with gr.Blocks(title="Emu"
|
| 161 |
state = gr.State()
|
| 162 |
|
| 163 |
gr.Markdown("<font size=5><center><b>This demo</b> can accept a mix of <b><u>_texts_</u></b>, <b><u>_locations_</u></b> and <b><u>_images_</u></b> as input, and generating images in context</center></font>")
|
|
|
|
| 157 |
global CONTROLLER_URL
|
| 158 |
CONTROLLER_URL = args.controller_url
|
| 159 |
|
| 160 |
+
with gr.Blocks(title="Emu") as demo:
|
| 161 |
state = gr.State()
|
| 162 |
|
| 163 |
gr.Markdown("<font size=5><center><b>This demo</b> can accept a mix of <b><u>_texts_</u></b>, <b><u>_locations_</u></b> and <b><u>_images_</u></b> as input, and generating images in context</center></font>")
|