charliebaby2023 commited on
Commit
f5bf397
Β·
verified Β·
1 Parent(s): 24804f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -137,6 +137,9 @@ with gr.Blocks(css="""
137
  .svelte-5y6bt2 {max-height:161px;min-height:160px;}
138
  .hide-container { max-height: 2px; position: fixed; min-height: 1px;}
139
  .svelte-1gfkn6j {display:none;}
 
 
 
140
  """) as demo:
141
  gr.Markdown("<script>" + js_code + "</script>")
142
  make_me()
 
137
  .svelte-5y6bt2 {max-height:161px;min-height:160px;}
138
  .hide-container { max-height: 2px; position: fixed; min-height: 1px;}
139
  .svelte-1gfkn6j {display:none;}
140
+ .gradio-container .gri-textbox { display: block; /* Keep the input visible */ }
141
+ .gradio-container .gri-textbox .gri-input { border: none; padding: 0; background: transparent; box-shadow: none; }
142
+ .gradio-container .gri-textbox > div { visibility: hidden; /* Hide the container div */ }
143
  """) as demo:
144
  gr.Markdown("<script>" + js_code + "</script>")
145
  make_me()