Spaces:
Runtime error
Runtime error
SemanticTypography
commited on
Commit
•
04f9434
1
Parent(s):
7fb1bb9
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ from utils import (
|
|
47 |
import warnings
|
48 |
|
49 |
TITLE="""<h1 style="font-size: 42px;" align="center">Word-As-Image for Semantic Typography</h1>"""
|
|
|
50 |
DESCRIPTION="""A demo for [Word-As-Image for Semantic Typography](https://wordasimage.github.io/Word-As-Image-Page/). By using Word-as-Image, a visual representation of the meaning of the word is created while maintaining legibility of the text and font style.
|
51 |
Please select a semantic concept word and a letter you wish to generate, it will take ~5 minutes to perform 500 iterations."""
|
52 |
|
@@ -242,6 +243,7 @@ def run_main_app(semantic_concept, word, letter, font_name, num_steps, example=0
|
|
242 |
with gr.Blocks() as demo:
|
243 |
|
244 |
gr.HTML(TITLE)
|
|
|
245 |
gr.Markdown(DESCRIPTION)
|
246 |
|
247 |
with gr.Row():
|
|
|
47 |
import warnings
|
48 |
|
49 |
TITLE="""<h1 style="font-size: 42px;" align="center">Word-As-Image for Semantic Typography</h1>"""
|
50 |
+
TITLE2="""<h2 style="font-size: 36px;" align="center">SIGGRAPH 2023 - Honorable Mention Award</h2>"""
|
51 |
DESCRIPTION="""A demo for [Word-As-Image for Semantic Typography](https://wordasimage.github.io/Word-As-Image-Page/). By using Word-as-Image, a visual representation of the meaning of the word is created while maintaining legibility of the text and font style.
|
52 |
Please select a semantic concept word and a letter you wish to generate, it will take ~5 minutes to perform 500 iterations."""
|
53 |
|
|
|
243 |
with gr.Blocks() as demo:
|
244 |
|
245 |
gr.HTML(TITLE)
|
246 |
+
gr.HTML(TITLE2)
|
247 |
gr.Markdown(DESCRIPTION)
|
248 |
|
249 |
with gr.Row():
|