Spaces:
Runtime error
Runtime error
sashavor
commited on
Commit
Β·
37b3ed3
1
Parent(s):
e7638f5
moving jsons to folder
Browse files
app.py
CHANGED
|
@@ -5,16 +5,18 @@ import pandas as pd
|
|
| 5 |
pd.options.plotting.backend = "plotly"
|
| 6 |
|
| 7 |
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
with gr.Blocks() as demo:
|
| 11 |
gr.Markdown("# π€ Diffusion Cluster Explorer")
|
| 12 |
gr.Markdown("description will go here")
|
| 13 |
with gr.Tab("Exploring all professions together"):
|
| 14 |
-
gr.Markdown(
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
# with gr.Row():
|
| 18 |
|
| 19 |
# with gr.Row():
|
| 20 |
|
|
|
|
| 5 |
pd.options.plotting.backend = "plotly"
|
| 6 |
|
| 7 |
|
| 8 |
+
TITLE = "Diffusion Faces Cluster Explorer"
|
| 9 |
+
clusters_12 = json.load(open("clusters/professions_to_clusters_12.json"))
|
| 10 |
+
clusters_24 = json.load(open("clusters/professions_to_clusters_24.json"))
|
| 11 |
+
clusters_48 = json.load(open("clusters/professions_to_clusters_48.json"))
|
| 12 |
|
| 13 |
with gr.Blocks() as demo:
|
| 14 |
gr.Markdown("# π€ Diffusion Cluster Explorer")
|
| 15 |
gr.Markdown("description will go here")
|
| 16 |
with gr.Tab("Exploring all professions together"):
|
| 17 |
+
gr.Markdown("TODO")
|
| 18 |
+
with gr.Row():
|
| 19 |
+
gr.Markdown("Select your settings below:")
|
|
|
|
| 20 |
|
| 21 |
# with gr.Row():
|
| 22 |
|
professions_to_clusters_12.json β clusters/professions_to_clusters_12.json
RENAMED
|
File without changes
|
professions_to_clusters_24.json β clusters/professions_to_clusters_24.json
RENAMED
|
File without changes
|
professions_to_clusters_48.json β clusters/professions_to_clusters_48.json
RENAMED
|
File without changes
|