Spaces:
Sleeping
Sleeping
Update server.py
Browse files
server.py
CHANGED
@@ -262,7 +262,8 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Social App") as demo:
|
|
262 |
|
263 |
with gr.TabItem("Manual Actions & Settings"):
|
264 |
manual_action_status = gr.Textbox(label="Action Status", interactive=False)
|
265 |
-
|
|
|
266 |
with gr.Group():
|
267 |
gr.Markdown("### Manually Create Post")
|
268 |
post_user = gr.Textbox(label="Username", value="admin")
|
|
|
262 |
|
263 |
with gr.TabItem("Manual Actions & Settings"):
|
264 |
manual_action_status = gr.Textbox(label="Action Status", interactive=False)
|
265 |
+
gr.Markdown("## DEMO_MODE", visible=True if DEMO_MODE else False)
|
266 |
+
with gr.Row(bisible=False if DEMO_MODE else True):
|
267 |
with gr.Group():
|
268 |
gr.Markdown("### Manually Create Post")
|
269 |
post_user = gr.Textbox(label="Username", value="admin")
|