Update app.py
Browse files
app.py
CHANGED
|
@@ -328,12 +328,20 @@ with gr.Blocks(title="FoldMark", css=custom_css) as demo:
|
|
| 328 |
with gr.Row():
|
| 329 |
view3d = Molecule3D(label="3D Visualization(Gray: Unwatermarked; Cyan: Watermarked)", reps=reps)
|
| 330 |
|
| 331 |
-
legend = gr.Markdown("""
|
| 332 |
-
**Color Legend:**
|
| 333 |
-
|
| 334 |
-
- <span style="color:grey">Gray: Unwatermarked Structure</span>
|
| 335 |
-
- <span style="color:cyan">Cyan: Watermarked Structure</span>
|
| 336 |
-
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 337 |
|
| 338 |
with gr.Row():
|
| 339 |
cif_file = gr.File(label="Download CIF File")
|
|
|
|
| 328 |
with gr.Row():
|
| 329 |
view3d = Molecule3D(label="3D Visualization(Gray: Unwatermarked; Cyan: Watermarked)", reps=reps)
|
| 330 |
|
| 331 |
+
# legend = gr.Markdown("""
|
| 332 |
+
# **Color Legend:**
|
| 333 |
+
|
| 334 |
+
# - <span style="color:grey">Gray: Unwatermarked Structure</span>
|
| 335 |
+
# - <span style="color:cyan">Cyan: Watermarked Structure</span>
|
| 336 |
+
# """)
|
| 337 |
+
|
| 338 |
+
legend = gr.HTML("""
|
| 339 |
+
<div>
|
| 340 |
+
<strong>Color Legend:</strong><br>
|
| 341 |
+
- <span style="color:grey;">Gray: Unwatermarked Structure</span><br>
|
| 342 |
+
- <span style="color:cyan;">Cyan: Watermarked Structure</span>
|
| 343 |
+
</div>
|
| 344 |
+
""")
|
| 345 |
|
| 346 |
with gr.Row():
|
| 347 |
cif_file = gr.File(label="Download CIF File")
|