Update app.py
Browse files
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()
|