ovi054 commited on
Commit
9bfc35c
1 Parent(s): fee26f9

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import os
3
+ theme = gr.themes.Default().set(
4
+ # body_background_fill='*primary_50',
5
+ # block_border_width='*block_label_border_width',
6
+ # block_border_width_dark='*checkbox_border_width',
7
+ button_secondary_background_fill='*primary_200',
8
+ # button_secondary_background_fill_dark='*primary_700',
9
+ button_secondary_background_fill_hover='*primary_200',
10
+ button_secondary_border_color='*primary_100',
11
+ # button_secondary_border_color_dark='*primary_700',
12
+ button_secondary_text_color='*button_primary_text_color'
13
+ )
14
+ SECRET_TOKEN = os.getenv("PIXL_MAP_TOKEN")
15
+ with gr.Blocks(theme=theme) as demo:
16
+ gr.load("spaces/ovi054/auto-bangla-subtitle",hf_token=SECRET_TOKEN)
17
+ demo.launch()