Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,10 @@ import os
|
|
| 3 |
|
| 4 |
space_path = os.environ.get('space_path')
|
| 5 |
space_key = os.environ.get('read_token')
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
| 7 |
iface = gr.load(name=space_path, hf_token=space_key, src='spaces')
|
|
|
|
| 8 |
demo.launch(show_api=False)
|
|
|
|
| 3 |
|
| 4 |
space_path = os.environ.get('space_path')
|
| 5 |
space_key = os.environ.get('read_token')
|
| 6 |
+
theme = gr.themes.Default(
|
| 7 |
+
primary_hue="green",
|
| 8 |
+
)
|
| 9 |
+
with gr.Blocks(fill_height=True, theme=theme) as demo:
|
| 10 |
iface = gr.load(name=space_path, hf_token=space_key, src='spaces')
|
| 11 |
+
|
| 12 |
demo.launch(show_api=False)
|