Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ with gr.Blocks(title="BPE Visualization Demo") as demo:
|
|
174 |
print("current_vis",len(current_vis))
|
175 |
print("current_bpe",len(current_bpe))
|
176 |
|
177 |
-
return image, current_vis[0],f"Current BPE: {current_bpe[0]}", gr.update(visible=True), gr.update(visible=True)
|
178 |
|
179 |
|
180 |
run_btn.click(
|
|
|
174 |
print("current_vis",len(current_vis))
|
175 |
print("current_bpe",len(current_bpe))
|
176 |
|
177 |
+
return image, current_vis[0],f"<div style='text-align:center; font-size:20px;'><strong>Current BPE: <span style='color:red;'>{current_bpe[0]}</span></strong></div>", gr.update(visible=True), gr.update(visible=True)
|
178 |
|
179 |
|
180 |
run_btn.click(
|