Spaces:
Sleeping
Sleeping
Embedding Explorer: all params in constructor for HF Gradio compat
Browse files
app.py
CHANGED
|
@@ -782,7 +782,7 @@ THEME = gr.themes.Soft(
|
|
| 782 |
block_title_text_color="#63348d",
|
| 783 |
)
|
| 784 |
|
| 785 |
-
with gr.Blocks(title="Embedding Explorer", theme=THEME) as demo:
|
| 786 |
|
| 787 |
gr.Markdown(
|
| 788 |
"# Embedding Explorer\n"
|
|
@@ -840,4 +840,4 @@ with gr.Blocks(title="Embedding Explorer", theme=THEME) as demo:
|
|
| 840 |
outputs=[exp_plot, exp_status, exp_radio],
|
| 841 |
)
|
| 842 |
|
| 843 |
-
demo.launch(
|
|
|
|
| 782 |
block_title_text_color="#63348d",
|
| 783 |
)
|
| 784 |
|
| 785 |
+
with gr.Blocks(title="Embedding Explorer", theme=THEME, css=CSS, head=FORCE_LIGHT) as demo:
|
| 786 |
|
| 787 |
gr.Markdown(
|
| 788 |
"# Embedding Explorer\n"
|
|
|
|
| 840 |
outputs=[exp_plot, exp_status, exp_radio],
|
| 841 |
)
|
| 842 |
|
| 843 |
+
demo.launch()
|