Spaces:
Sleeping
Sleeping
jianuo
commited on
Commit
Β·
905259f
1
Parent(s):
6ee67ba
change a text
Browse files- demo_watermark.py +1 -1
demo_watermark.py
CHANGED
|
@@ -490,7 +490,7 @@ def detect(input_text, args, tokenizer, device=None, return_green_token_mask=Tru
|
|
| 490 |
|
| 491 |
if score_dict['prediction']:
|
| 492 |
html_look = gr.HTML("""<div style="width: 100%; font-size: 24px; height: 100px; border-radius: 20px; background-color: rgba(255, 0, 0, 0.25); display: flex; justify-content: center; align-items: center; color: white; font-weight: bold;">
|
| 493 |
-
<span
|
| 494 |
</div>""".format(name), visible=True)
|
| 495 |
|
| 496 |
else:
|
|
|
|
| 490 |
|
| 491 |
if score_dict['prediction']:
|
| 492 |
html_look = gr.HTML("""<div style="width: 100%; font-size: 24px; height: 100px; border-radius: 20px; background-color: rgba(255, 0, 0, 0.25); display: flex; justify-content: center; align-items: center; color: white; font-weight: bold;">
|
| 493 |
+
<span>ε«ζζ°΄ε°οΌβ{}β</span>
|
| 494 |
</div>""".format(name), visible=True)
|
| 495 |
|
| 496 |
else:
|