Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
read_key = os.environ.get('hf_space_api_key', None)
|
@@ -7,11 +8,14 @@ with gr.Blocks() as demo:
|
|
7 |
|
8 |
# Overwrite the first two tabs with a "work in progress" message
|
9 |
with app:
|
10 |
-
with gr.Tab("
|
11 |
-
gr.Markdown("##
|
12 |
|
13 |
-
with gr.Tab("
|
14 |
-
gr.Markdown("##
|
|
|
|
|
|
|
15 |
|
16 |
# Launch the app
|
17 |
-
app.launch()
|
|
|
1 |
+
import os
|
2 |
import gradio as gr
|
3 |
|
4 |
read_key = os.environ.get('hf_space_api_key', None)
|
|
|
8 |
|
9 |
# Overwrite the first two tabs with a "work in progress" message
|
10 |
with app:
|
11 |
+
with gr.Tab("Tab 1 - Work in Progress"):
|
12 |
+
gr.Markdown("## Work in Progress\nThis section is currently under development.")
|
13 |
|
14 |
+
with gr.Tab("Tab 2 - Work in Progress"):
|
15 |
+
gr.Markdown("## Work in Progress\nThis section is currently under development.")
|
16 |
+
|
17 |
+
# Assuming the third tab is to be kept as is
|
18 |
+
# ...
|
19 |
|
20 |
# Launch the app
|
21 |
+
app.launch()
|