Spaces:
Runtime error
Runtime error
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() | |