vinesmsuic commited on
Commit
cf686e9
β€’
1 Parent(s): 7b740cd

updating markdown

Browse files
serve/gradio_web.py CHANGED
@@ -84,7 +84,7 @@ Find out who is the πŸ₯‡conditional image generation models! More models are goi
84
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
85
  # share_btn = gr.Button(value="πŸ“· Share")
86
 
87
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
88
 
89
  dummy_img_output = gr.Image(width=512, visible=False)
90
  gr.Examples(
@@ -243,7 +243,7 @@ def build_side_by_side_ui_named(models):
243
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
244
  # share_btn = gr.Button(value="πŸ“· Share")
245
 
246
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
247
 
248
  dummy_img_output = gr.Image(width=512, visible=False)
249
  gr.Examples(
@@ -387,8 +387,9 @@ def build_single_model_ui(models, add_promotion_links=False):
387
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
388
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
389
 
390
- if add_promotion_links:
391
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
 
392
 
393
  dummy_img_output = gr.Image(visible=False)
394
  gr.Examples(
 
84
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
85
  # share_btn = gr.Button(value="πŸ“· Share")
86
 
87
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
88
 
89
  dummy_img_output = gr.Image(width=512, visible=False)
90
  gr.Examples(
 
243
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
244
  # share_btn = gr.Button(value="πŸ“· Share")
245
 
246
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
247
 
248
  dummy_img_output = gr.Image(width=512, visible=False)
249
  gr.Examples(
 
387
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
388
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
389
 
390
+ #if add_promotion_links:
391
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
392
+ pass
393
 
394
  dummy_img_output = gr.Image(visible=False)
395
  gr.Examples(
serve/gradio_web_image_editing.py CHANGED
@@ -99,7 +99,7 @@ Find out who is the πŸ₯‡conditional image edition models!
99
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
100
  # share_btn = gr.Button(value="πŸ“· Share")
101
 
102
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
103
 
104
  gr.Examples(
105
  examples=[
@@ -289,7 +289,7 @@ def build_side_by_side_ui_named_ie(models):
289
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
290
  # share_btn = gr.Button(value="πŸ“· Share")
291
 
292
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
293
  gr.Examples(
294
  examples=[
295
  ["a bowl of strawberries", "a bowl of oranges", "change strawberries to oranges",
@@ -460,7 +460,8 @@ def build_single_model_ui_ie(models, add_promotion_links=False):
460
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
461
 
462
  if add_promotion_links:
463
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
 
464
 
465
  gr.Examples(
466
  examples=[
 
99
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
100
  # share_btn = gr.Button(value="πŸ“· Share")
101
 
102
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
103
 
104
  gr.Examples(
105
  examples=[
 
289
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
290
  # share_btn = gr.Button(value="πŸ“· Share")
291
 
292
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
293
  gr.Examples(
294
  examples=[
295
  ["a bowl of strawberries", "a bowl of oranges", "change strawberries to oranges",
 
460
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
461
 
462
  if add_promotion_links:
463
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
464
+ pass
465
 
466
  gr.Examples(
467
  examples=[
serve/gradio_web_video_generation.py CHANGED
@@ -85,7 +85,7 @@ Find out who is the πŸ₯‡conditional video generation models! More models are goi
85
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
86
  # share_btn = gr.Button(value="πŸ“· Share")
87
 
88
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
89
 
90
  dummy_video_output = gr.Video(width=512, visible=False)
91
  gr.Examples(
@@ -245,7 +245,7 @@ def build_side_by_side_ui_named_vg(models):
245
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
246
  # share_btn = gr.Button(value="πŸ“· Share")
247
 
248
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
249
 
250
  dummy_video_output = gr.Video(width=512, visible=False)
251
  gr.Examples(
@@ -399,7 +399,8 @@ def build_single_model_ui_vg(models, add_promotion_links=False):
399
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
400
 
401
  if add_promotion_links:
402
- gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
 
403
 
404
  dummy_video_output = gr.Video(width=512, visible=False)
405
  gr.Examples(
 
85
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
86
  # share_btn = gr.Button(value="πŸ“· Share")
87
 
88
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
89
 
90
  dummy_video_output = gr.Video(width=512, visible=False)
91
  gr.Examples(
 
245
  regenerate_btn = gr.Button(value="πŸ”„ Regenerate", interactive=False)
246
  # share_btn = gr.Button(value="πŸ“· Share")
247
 
248
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
249
 
250
  dummy_video_output = gr.Video(width=512, visible=False)
251
  gr.Examples(
 
399
  clear_btn = gr.Button(value="πŸ—‘οΈ Clear history", interactive=False)
400
 
401
  if add_promotion_links:
402
+ #gr.Markdown(acknowledgment_md, elem_id="ack_markdown")
403
+ pass
404
 
405
  dummy_video_output = gr.Video(width=512, visible=False)
406
  gr.Examples(
serve/utils.py CHANGED
@@ -32,6 +32,9 @@ Email: t29li@uwaterloo.ca (Tianle Li)
32
 
33
  ## Sponsorship
34
  We are keep looking for sponsorship to support the arena project for the long term. Please contact us if you are interested in supporting this project.
 
 
 
35
  """
36
 
37
  gr.Markdown(about_markdown, elem_id="about_markdown")
@@ -40,7 +43,7 @@ We are keep looking for sponsorship to support the arena project for the long te
40
  acknowledgment_md = """
41
  ### Acknowledgment
42
  <div class="image-container">
43
- <p> Our code base is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a> and <a href="https://github.com/TIGER-AI-Lab/ImagenHub" target="_blank">ImagenHub</a></p>.
44
  </div>
45
  """
46
 
 
32
 
33
  ## Sponsorship
34
  We are keep looking for sponsorship to support the arena project for the long term. Please contact us if you are interested in supporting this project.
35
+
36
+ ## Acknowledgment
37
+ Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/TIGER-AI-Lab/ImagenHub" target="_blank">ImagenHub</a> and <a href="https://github.com/TIGER-AI-Lab/VideoGenHub" target="_blank">VideoGenHub</a>.
38
  """
39
 
40
  gr.Markdown(about_markdown, elem_id="about_markdown")
 
43
  acknowledgment_md = """
44
  ### Acknowledgment
45
  <div class="image-container">
46
+ <p> Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/TIGER-AI-Lab/ImagenHub" target="_blank">ImagenHub</a> and <a href="https://github.com/TIGER-AI-Lab/VideoGenHub" target="_blank">VideoGenHub</a>.</p>
47
  </div>
48
  """
49