Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files12 unmodified lines1314151617181920211617181920212223242526272829303132174 unmodified lines20720820920221021121221312 unmodified lines# ConstantsTITLE = "🌐 Phi-3 Instruct Graph Explorer"SUBTITLE = "✨ Extract and visualize knowledge graphs from any text in multiple languages"THEME = gr.themes.Base().set( primary_hue="indigo", secondary_hue="purple", neutral_hue="slate", radius_size=gr.themes.sizes.radius_sm)
# Custom CSS for stylingCUSTOM_CSS = """.gradio-container { font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;}.gr-button-primary { background-color: #6366f1 !important;}.gr-button-secondary { border-color: #6366f1 !important; color: #6366f1 !important;}"""
# Color utilitiesdef get_random_light_color():174 unmodified lines]
def create_ui(): with gr.Blocks(theme=THEME, title=TITLE) as demo: with gr.Blocks(css=CUSTOM_CSS, title=TITLE) as demo: # Header gr.Markdown(f"# {TITLE}") gr.Markdown(f"{SUBTITLE}")app.py+15-7