TrungLC commited on
Commit
0fbc8ff
·
verified ·
1 Parent(s): 30cf755

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -10
app.py CHANGED
@@ -240,19 +240,16 @@ def process_files(thuoc_file, xetnghiem_file, thuoc_plt_file, icd_plt_file):
240
 
241
 
242
 
243
- custom_css = """
244
- footer {display: none !important;}
245
- .built-with {display: none !important;}
246
- #api-btn {display: none !important;}
247
- .show-api {display: none !important;}
248
- button[title="Use via API"] {display: none !important;}
249
- .svelte-1rjryqp {display: none !important;}
250
- """
251
-
252
- with gr.Blocks(title="triggertool PLT", css=custom_css) as demo:
253
 
254
  # ===== INJECT CSS =====
255
  gr.HTML("""<style>
 
 
 
 
 
 
256
  #plt-header {
257
  background: linear-gradient(135deg, #e65c00 0%, #d44c00 45%, #b33b00 100%);
258
  border-radius: 16px; padding: 28px 40px; margin-bottom: 18px;
 
240
 
241
 
242
 
243
+ with gr.Blocks(title="triggertool PLT") as demo:
 
 
 
 
 
 
 
 
 
244
 
245
  # ===== INJECT CSS =====
246
  gr.HTML("""<style>
247
+ footer {display: none !important;}
248
+ .built-with {display: none !important;}
249
+ #api-btn {display: none !important;}
250
+ .show-api {display: none !important;}
251
+ button[title="Use via API"] {display: none !important;}
252
+ .svelte-1rjryqp {display: none !important;}
253
  #plt-header {
254
  background: linear-gradient(135deg, #e65c00 0%, #d44c00 45%, #b33b00 100%);
255
  border-radius: 16px; padding: 28px 40px; margin-bottom: 18px;