jwkirchenbauer commited on
Commit
fcc6620
Β·
1 Parent(s): 2e70122

markdown formatting

Browse files
Files changed (1) hide show
  1. demo_watermark.py +15 -7
demo_watermark.py CHANGED
@@ -325,15 +325,23 @@ def run_gradio(args, model=None, device=None, tokenizer=None):
325
  with gr.Blocks() as demo:
326
 
327
  # Top section, greeting and instructions
328
- gr.Markdown(
329
- """
330
- ## πŸ’§ [A Watermark for Large Language Models](https://arxiv.org/abs/2301.10226) πŸ”
 
331
 
332
- [![](https://badgen.net/badge/icon/GitHub?icon=github&label)](https://github.com/jwkirchenbauer/lm-watermarking)
 
 
 
 
 
 
 
 
 
 
333
 
334
- ![visitor badge](https://visitor-badge.glitch.me/badge?page_id=tomg-group-umd_lm-watermarking)
335
- """
336
- )
337
  with gr.Accordion("Understanding the output metrics",open=False):
338
  gr.Markdown(
339
  """
 
325
  with gr.Blocks() as demo:
326
 
327
  # Top section, greeting and instructions
328
+ with gr.Column(scale=2):
329
+ gr.Markdown(
330
+ """
331
+ ![visitor badge](https://visitor-badge.glitch.me/badge?page_id=tomg-group-umd_lm-watermarking)
332
 
333
+ [![](https://badgen.net/badge/icon/GitHub?icon=github&label)](https://github.com/jwkirchenbauer/lm-watermarking)
334
+ """
335
+ )
336
+ with gr.Column(scale=6):
337
+ gr.Markdown(
338
+ """
339
+ ## πŸ’§ [A Watermark for Large Language Models](https://arxiv.org/abs/2301.10226) πŸ”
340
+ """
341
+ )
342
+ with gr.Column(scale=2):
343
+ pass
344
 
 
 
 
345
  with gr.Accordion("Understanding the output metrics",open=False):
346
  gr.Markdown(
347
  """