Spaces:
Runtime error
Runtime error
File size: 840 Bytes
201ef5d 37b3ed3 201ef5d 400023d 201ef5d 37b3ed3 201ef5d f8a315e 201ef5d f8a315e 201ef5d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
import gradio as gr
import numpy as np
import pandas as pd
pd.options.plotting.backend = "plotly"
TITLE = "Diffusion Faces Cluster Explorer"
clusters_12 = json.load(open("clusters/professions_to_clusters_12.json"))
clusters_24 = json.load(open("clusters/professions_to_clusters_24.json"))
clusters_48 = json.load(open("clusters/professions_to_clusters_48.json"))
with gr.Blocks() as demo:
gr.Markdown("# 🤗 Diffusion Cluster Explorer")
gr.Markdown("description will go here")
with gr.Tab("Exploring all professions together"):
gr.Markdown("TODO")
with gr.Row():
gr.Markdown("Select your settings below:")
# with gr.Row():
# with gr.Accordion("Tag Frequencies", open=False):
with gr.Tab("Tab 2"):
gr.Markdown("TODO"
)
demo.launch()
|