Spaces:
Runtime error
Runtime error
Commit
Β·
fcc6620
1
Parent(s):
2e70122
markdown formatting
Browse files- 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.
|
329 |
-
|
330 |
-
|
|
|
331 |
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
|
334 |
-

|
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 |
+

|
332 |
|
333 |
+
[](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 |
"""
|