AntaresGuo commited on
Commit
be24841
·
verified ·
1 Parent(s): 8319510

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -21,7 +21,7 @@ title = r"""
21
  </br>
22
 
23
  </br>
24
- <img src="./docs/resource/X2Painting/pics/xword_intro.png" style="display: block; margin: 0 auto; max-height: 384px;">
25
  </br>
26
  <h2 style="text-align: center;">===================🤪🥳 Have a Try 🤩😄===================</h2>
27
  """
@@ -30,9 +30,7 @@ with gr.Blocks(css=css) as demo:
30
  # description
31
  gr.HTML(title)
32
  with gr.Row():
33
- with gr.Column():
34
- # with gr.Row(scale=1):
35
- # with gr.Column():
36
  gr.Markdown('''
37
  ⭐️<b> User Tips </b>
38
  - <b>step1:</b>Input a Character. Recommended Chinese Character.
@@ -70,7 +68,6 @@ with gr.Blocks(css=css) as demo:
70
  elem_classes="final_gallery",columns=[4], rows=[2]
71
  )
72
 
73
- # server_port = gr.Number(value=args.server_port, visible=False)
74
  submit.add([final_gallery])
75
  submit.click(send_to_server,
76
  inputs=[word, style_name],
 
21
  </br>
22
 
23
  </br>
24
+ <img src="https://cdn-lfs-us-1.huggingface.co/repos/08/ef/08ef1f5b2ff4e2232d2843b12c514f710b2398df7b2eb1d5af354753aef4bc97/9815b4f1ebc753dfb44ddd8f0ecf6416bd07c5136f53154051cc4b20bd8ec715?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27xword_intro.png%3B+filename%3D%22xword_intro.png%22%3B&response-content-type=image%2Fpng&Expires=1712822072&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxMjgyMjA3Mn19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzA4L2VmLzA4ZWYxZjViMmZmNGUyMjMyZDI4NDNiMTJjNTE0ZjcxMGIyMzk4ZGY3YjJlYjFkNWFmMzU0NzUzYWVmNGJjOTcvOTgxNWI0ZjFlYmM3NTNkZmI0NGRkZDhmMGVjZjY0MTZiZDA3YzUxMzZmNTMxNTQwNTFjYzRiMjBiZDhlYzcxNT9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=B7RToR-DTnf9OcWOi2spv19seYQiF8fFtxp36WZS6IPEkBdY9r-x5PAnCiZLx1imVcWuzrzabYRSyOaCQZgKqshAAlbmU-7JECvIEDFZcwOuA4-CJU7gR2v6GocVmEuAcfd8igew9gX7Uza8zAPmbdNytskCvFtSnZMdXD6fdCBrq2QHW1PSTL%7E0H5L342aVy6%7E7mfHHvaWsSEE%7EDcUjzahSX1ISlWDUl1dy66SFtfDMzc1z6sMgnzGmqWn6uMNH-3Uv%7Efk4xpLjwlmGQGO0ANE1226zXNegdWnPsjiZNRhN18OcwFy7Kv9XAUBwoePoNjec3iTRwWrqnaN4fzEnww__&Key-Pair-Id=KCD77M1F0VK2B" style="display: block; margin: 0 auto; max-height: 384px;">
25
  </br>
26
  <h2 style="text-align: center;">===================🤪🥳 Have a Try 🤩😄===================</h2>
27
  """
 
30
  # description
31
  gr.HTML(title)
32
  with gr.Row():
33
+ with gr.Column(scale=1):
 
 
34
  gr.Markdown('''
35
  ⭐️<b> User Tips </b>
36
  - <b>step1:</b>Input a Character. Recommended Chinese Character.
 
68
  elem_classes="final_gallery",columns=[4], rows=[2]
69
  )
70
 
 
71
  submit.add([final_gallery])
72
  submit.click(send_to_server,
73
  inputs=[word, style_name],