Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1332,22 +1332,22 @@ def handle_generation(artist,song,lyrics,_height,_width):
|
|
1332 |
if __name__ == "__main__":
|
1333 |
with gr.Blocks(theme=gr.themes.Citrus(),css=css) as demo:
|
1334 |
gr.Markdown(f"""
|
1335 |
-
# Image
|
1336 |
""")
|
1337 |
gr.Markdown(f"""
|
1338 |
-
## Multilingual. Realistic.
|
1339 |
""")
|
1340 |
|
1341 |
with gr.Row():
|
1342 |
with gr.Column(scale=4):
|
1343 |
artist = gr.Textbox(
|
1344 |
-
placeholder="Top
|
1345 |
value="",
|
1346 |
container=False,
|
1347 |
max_lines=1
|
1348 |
)
|
1349 |
song = gr.Textbox(
|
1350 |
-
placeholder="Bottom
|
1351 |
value="",
|
1352 |
container=False,
|
1353 |
max_lines=1
|
@@ -1379,7 +1379,7 @@ if __name__ == "__main__":
|
|
1379 |
|
1380 |
with gr.Row():
|
1381 |
lyrics = gr.Textbox(
|
1382 |
-
placeholder="
|
1383 |
value="",
|
1384 |
container=False,
|
1385 |
max_lines=1000
|
|
|
1332 |
if __name__ == "__main__":
|
1333 |
with gr.Blocks(theme=gr.themes.Citrus(),css=css) as demo:
|
1334 |
gr.Markdown(f"""
|
1335 |
+
# Text to Image
|
1336 |
""")
|
1337 |
gr.Markdown(f"""
|
1338 |
+
## Multilingual. Realistic. Titles are supported.
|
1339 |
""")
|
1340 |
|
1341 |
with gr.Row():
|
1342 |
with gr.Column(scale=4):
|
1343 |
artist = gr.Textbox(
|
1344 |
+
placeholder="Top title",
|
1345 |
value="",
|
1346 |
container=False,
|
1347 |
max_lines=1
|
1348 |
)
|
1349 |
song = gr.Textbox(
|
1350 |
+
placeholder="Bottom title",
|
1351 |
value="",
|
1352 |
container=False,
|
1353 |
max_lines=1
|
|
|
1379 |
|
1380 |
with gr.Row():
|
1381 |
lyrics = gr.Textbox(
|
1382 |
+
placeholder="Textual data (multilingual)",
|
1383 |
value="",
|
1384 |
container=False,
|
1385 |
max_lines=1000
|