Wassim commited on
Commit
9b8951e
1 Parent(s): 451e7af

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -5
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("Ghost Tab 1"):
11
- gr.Markdown("## Closed. \nThis section is private for developers only.")
12
 
13
- with gr.Tab("Ghost Tab 2"):
14
- gr.Markdown("## Closed. \nThis section is private for developers only.")
 
 
 
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()