Spaces:
Sleeping
Sleeping
import os | |
import gradio as gr | |
read_key = os.environ.get('hf_space_api_key', None) | |
with gr.Blocks() as demo: | |
gr.load("Wassim/deutsches-gesetz-chatbot", hf_token=read_key, src="spaces") | |
# Overwrite the first two tabs with a "work in progress" message | |
with app: | |
with gr.Tab("Tab 1 - Work in Progress"): | |
gr.Markdown("## Work in Progress\nThis section is currently under development.") | |
with gr.Tab("Tab 2 - Work in Progress"): | |
gr.Markdown("## Work in Progress\nThis section is currently under development.") | |
# Assuming the third tab is to be kept as is | |
# ... | |
# Launch the app | |
app.launch() | |