jwkirchenbauer commited on
Commit
aed6478
β€’
1 Parent(s): fcc6620

markdown formatting

Browse files
Files changed (1) hide show
  1. demo_watermark.py +16 -16
demo_watermark.py CHANGED
@@ -323,24 +323,24 @@ def run_gradio(args, model=None, device=None, tokenizer=None):
323
  detect_partial = partial(detect, device=device, tokenizer=tokenizer)
324
 
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(
 
323
  detect_partial = partial(detect, device=device, tokenizer=tokenizer)
324
 
325
  with gr.Blocks() as demo:
 
326
  # Top section, greeting and instructions
327
+ with gr.Row():
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(