raannakasturi commited on
Commit
41674cb
·
verified ·
1 Parent(s): bdacf07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -14
app.py CHANGED
@@ -11,22 +11,8 @@ def update_key_options(key_type):
11
  else:
12
  return gr.update(visible=False), gr.update(visible=True)
13
 
14
- hide_header_js = """
15
- <script>
16
- window.onload = function() {
17
- var header = document.getElementById('huggingface-space-header');
18
- if (header) {
19
- header.style.display = 'none'; // Hide the header
20
- // Alternatively, to remove it completely, use:
21
- // header.parentNode.removeChild(header);
22
- }
23
- }
24
- </script>
25
- """
26
-
27
  def app():
28
  with gr.Blocks() as webui:
29
- gr.HTML(hide_header_js)
30
  with gr.Row():
31
  with gr.Column():
32
  domains_input = gr.Textbox(label="Enter Domains", placeholder="thenayankasturi.eu.org, dash.thenayankasturi.eu.org, www.thenayankasturi.eu.org", type="text", interactive=True)
 
11
  else:
12
  return gr.update(visible=False), gr.update(visible=True)
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  def app():
15
  with gr.Blocks() as webui:
 
16
  with gr.Row():
17
  with gr.Column():
18
  domains_input = gr.Textbox(label="Enter Domains", placeholder="thenayankasturi.eu.org, dash.thenayankasturi.eu.org, www.thenayankasturi.eu.org", type="text", interactive=True)