Spaces:
Runtime error
Runtime error
import gradio as gr | |
import os | |
theme = gr.themes.Default().set( | |
# body_background_fill='*primary_50', | |
# block_border_width='*block_label_border_width', | |
# block_border_width_dark='*checkbox_border_width', | |
button_secondary_background_fill='*primary_200', | |
# button_secondary_background_fill_dark='*primary_700', | |
button_secondary_background_fill_hover='*primary_200', | |
button_secondary_border_color='*primary_100', | |
# button_secondary_border_color_dark='*primary_700', | |
button_secondary_text_color='*button_primary_text_color' | |
) | |
SECRET_TOKEN = os.getenv("PIXL_MAP_TOKEN") | |
with gr.Blocks(theme=theme) as demo: | |
gr.load("spaces/ovi054/auto-bangla-subtitle",hf_token=SECRET_TOKEN) | |
demo.launch() |