Spaces:
Sleeping
Sleeping
Update server.py
Browse files
server.py
CHANGED
@@ -263,7 +263,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Social App") as demo:
|
|
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(
|
267 |
with gr.Group():
|
268 |
gr.Markdown("### Manually Create Post")
|
269 |
post_user = gr.Textbox(label="Username", value="admin")
|
|
|
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(visible=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")
|