DevNumb commited on
Commit
e1e784e
·
verified ·
1 Parent(s): e44bf5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -2
app.py CHANGED
@@ -494,7 +494,30 @@ def clear_form():
494
  return ["", None, "", None, "administration", "Normal", False]
495
 
496
  # Gradio Interface
497
- with gr.Blocks(theme=gr.themes.Soft(), title="AI Coordination System") as ui:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
498
  gr.Markdown("# 🏢 AI Department Coordination System")
499
  gr.Markdown("*Streamline communication between Administration, Production, and Magazine Management*")
500
 
@@ -648,4 +671,4 @@ with gr.Blocks(theme=gr.themes.Soft(), title="AI Coordination System") as ui:
648
  )
649
 
650
  if __name__ == "__main__":
651
- ui.launch(share=True, show_tips=False )
 
494
  return ["", None, "", None, "administration", "Normal", False]
495
 
496
  # Gradio Interface
497
+ # Add this at the top of your Gradio Blocks
498
+ with gr.Blocks(
499
+ theme=gr.themes.Soft(),
500
+ title="AI Coordination System",
501
+ css="""
502
+ /* Hide Hugging Face header completely */
503
+ .gradio-container {
504
+ margin-top: -60px !important;
505
+ }
506
+ header {
507
+ display: none !important;
508
+ }
509
+ .hf-header {
510
+ display: none !important;
511
+ }
512
+ /* Hide footer and other HF elements */
513
+ footer {
514
+ display: none !important;
515
+ }
516
+ .svelte-1l6xkfb {
517
+ display: none !important;
518
+ }
519
+ """
520
+ ) as ui:
521
  gr.Markdown("# 🏢 AI Department Coordination System")
522
  gr.Markdown("*Streamline communication between Administration, Production, and Magazine Management*")
523
 
 
671
  )
672
 
673
  if __name__ == "__main__":
674
+ ui.launch(share=True )