Spaces:
Running
on
Zero
Running
on
Zero
fix typo
Browse files
app.py
CHANGED
|
@@ -2378,7 +2378,7 @@ with demo:
|
|
| 2378 |
|
| 2379 |
with gr.Tab('📄About'):
|
| 2380 |
with gr.Column():
|
| 2381 |
-
gr.Markdown("**This demo is for
|
| 2382 |
gr.Markdown("**All the models and functions used for this demo are in the Python package `ncut-pytorch`**")
|
| 2383 |
gr.Markdown("---")
|
| 2384 |
gr.Markdown("---")
|
|
@@ -2392,7 +2392,7 @@ with demo:
|
|
| 2392 |
gr.Markdown("*AlignedCut: Visual Concepts Discovery on Brain-Guided Universal Feature Space, Huzheng Yang, James Gee\*, and Jianbo Shi\*, 2024*")
|
| 2393 |
gr.Markdown("---")
|
| 2394 |
gr.Markdown("---")
|
| 2395 |
-
gr.Markdown('<p style="text-align: center;">We thank
|
| 2396 |
|
| 2397 |
# unlock the hidden tab
|
| 2398 |
with gr.Row():
|
|
@@ -2435,11 +2435,13 @@ with demo:
|
|
| 2435 |
hidden_button.change(unlock_tabs, n_smiles, tab_recursivecut_advanced)
|
| 2436 |
hidden_button.change(unlock_tabs, n_smiles, tab_compare_models_advanced)
|
| 2437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2438 |
with gr.Row():
|
| 2439 |
-
|
| 2440 |
-
gr.Markdown("##### This demo is for `ncut-pytorch`, [Documentation](https://ncut-pytorch.readthedocs.io/) ")
|
| 2441 |
-
with gr.Column():
|
| 2442 |
-
gr.Markdown("###### Running out of GPU Quota? Try [Demo](https://ncut-pytorch.readthedocs.io/en/latest/demo/) hosted at UPenn")
|
| 2443 |
|
| 2444 |
# for local development
|
| 2445 |
if os.path.exists("/hf_token.txt"):
|
|
|
|
| 2378 |
|
| 2379 |
with gr.Tab('📄About'):
|
| 2380 |
with gr.Column():
|
| 2381 |
+
gr.Markdown("**This demo is for Python package `ncut-pytorch`, please visit the [Documentation](https://ncut-pytorch.readthedocs.io/)**")
|
| 2382 |
gr.Markdown("**All the models and functions used for this demo are in the Python package `ncut-pytorch`**")
|
| 2383 |
gr.Markdown("---")
|
| 2384 |
gr.Markdown("---")
|
|
|
|
| 2392 |
gr.Markdown("*AlignedCut: Visual Concepts Discovery on Brain-Guided Universal Feature Space, Huzheng Yang, James Gee\*, and Jianbo Shi\*, 2024*")
|
| 2393 |
gr.Markdown("---")
|
| 2394 |
gr.Markdown("---")
|
| 2395 |
+
gr.Markdown('<p style="text-align: center;">We thank HuggingFace for hosting this demo.</p>')
|
| 2396 |
|
| 2397 |
# unlock the hidden tab
|
| 2398 |
with gr.Row():
|
|
|
|
| 2435 |
hidden_button.change(unlock_tabs, n_smiles, tab_recursivecut_advanced)
|
| 2436 |
hidden_button.change(unlock_tabs, n_smiles, tab_compare_models_advanced)
|
| 2437 |
|
| 2438 |
+
# with gr.Row():
|
| 2439 |
+
# with gr.Column():
|
| 2440 |
+
# gr.Markdown("##### This demo is for `ncut-pytorch`, [Documentation](https://ncut-pytorch.readthedocs.io/) ")
|
| 2441 |
+
# with gr.Column():
|
| 2442 |
+
# gr.Markdown("###### Running out of GPU Quota? Try [Demo](https://ncut-pytorch.readthedocs.io/en/latest/demo/) hosted at UPenn")
|
| 2443 |
with gr.Row():
|
| 2444 |
+
gr.Markdown("**This demo is for Python package `ncut-pytorch`, [Documentation](https://ncut-pytorch.readthedocs.io/)**")
|
|
|
|
|
|
|
|
|
|
| 2445 |
|
| 2446 |
# for local development
|
| 2447 |
if os.path.exists("/hf_token.txt"):
|