Commit
·
b59d320
1
Parent(s):
d04c874
refine hints
Browse files
demo/generation_frontend.py
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
# Email : [email protected]
|
| 7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
| 8 |
# Create On : 2023-12-11 15:35
|
| 9 |
-
# Last Modified : 2023-12-21
|
| 10 |
# File Name : generation_frontend.py
|
| 11 |
# Description :
|
| 12 |
#
|
|
@@ -160,7 +160,7 @@ def build_generation(args):
|
|
| 160 |
with gr.Blocks(title="Emu", theme=gr.themes.Default(primary_hue="blue", secondary_hue="blue")) as demo:
|
| 161 |
state = gr.State()
|
| 162 |
|
| 163 |
-
gr.Markdown("<font size=5><center><b>
|
| 164 |
gr.Markdown(GUIDANCE)
|
| 165 |
gr.Markdown(RECOMMEND)
|
| 166 |
gr.Markdown("<font size=4>💡<b><u>Tips</b></u>💡:</font> To achieve better generation quality\n \
|
|
|
|
| 6 |
# Email : [email protected]
|
| 7 |
# Institute : Beijing Academy of Artificial Intelligence (BAAI)
|
| 8 |
# Create On : 2023-12-11 15:35
|
| 9 |
+
# Last Modified : 2023-12-21 07:12
|
| 10 |
# File Name : generation_frontend.py
|
| 11 |
# Description :
|
| 12 |
#
|
|
|
|
| 160 |
with gr.Blocks(title="Emu", theme=gr.themes.Default(primary_hue="blue", secondary_hue="blue")) 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>")
|
| 164 |
gr.Markdown(GUIDANCE)
|
| 165 |
gr.Markdown(RECOMMEND)
|
| 166 |
gr.Markdown("<font size=4>💡<b><u>Tips</b></u>💡:</font> To achieve better generation quality\n \
|