Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,17 +1,6 @@
|
|
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(
|
16 |
gr.load("spaces/ovi054/auto-bangla-subtitle",hf_token=SECRET_TOKEN)
|
17 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
SECRET_TOKEN = os.getenv("PIXL_MAP_TOKEN")
|
4 |
+
with gr.Blocks() as demo:
|
5 |
gr.load("spaces/ovi054/auto-bangla-subtitle",hf_token=SECRET_TOKEN)
|
6 |
demo.launch()
|