Spaces:
Sleeping
Sleeping
jwkirchenbauer
commited on
Commit
β’
8c252e3
1
Parent(s):
aed6478
md formatting
Browse files- demo_watermark.py +8 -8
demo_watermark.py
CHANGED
@@ -325,22 +325,22 @@ def run_gradio(args, model=None, device=None, tokenizer=None):
|
|
325 |
with gr.Blocks() as demo:
|
326 |
# Top section, greeting and instructions
|
327 |
with gr.Row():
|
328 |
-
with gr.Column(scale=
|
329 |
gr.Markdown(
|
330 |
"""
|
331 |
-
|
332 |
-
|
333 |
-
[![](https://badgen.net/badge/icon/GitHub?icon=github&label)](https://github.com/jwkirchenbauer/lm-watermarking)
|
334 |
"""
|
335 |
)
|
336 |
-
with gr.Column(scale=
|
337 |
gr.Markdown(
|
338 |
"""
|
339 |
-
|
|
|
|
|
340 |
"""
|
341 |
)
|
342 |
-
with gr.Column(scale=2):
|
343 |
-
|
344 |
|
345 |
with gr.Accordion("Understanding the output metrics",open=False):
|
346 |
gr.Markdown(
|
|
|
325 |
with gr.Blocks() as demo:
|
326 |
# Top section, greeting and instructions
|
327 |
with gr.Row():
|
328 |
+
with gr.Column(scale=9):
|
329 |
gr.Markdown(
|
330 |
"""
|
331 |
+
## π§ [A Watermark for Large Language Models](https://arxiv.org/abs/2301.10226) π
|
|
|
|
|
332 |
"""
|
333 |
)
|
334 |
+
with gr.Column(scale=1):
|
335 |
gr.Markdown(
|
336 |
"""
|
337 |
+
![visitor badge](https://visitor-badge.glitch.me/badge?page_id=tomg-group-umd_lm-watermarking)
|
338 |
+
|
339 |
+
[![](https://badgen.net/badge/icon/GitHub?icon=github&label)](https://github.com/jwkirchenbauer/lm-watermarking)
|
340 |
"""
|
341 |
)
|
342 |
+
# with gr.Column(scale=2):
|
343 |
+
# pass
|
344 |
|
345 |
with gr.Accordion("Understanding the output metrics",open=False):
|
346 |
gr.Markdown(
|