Spaces:
Sleeping
Sleeping
Update ui/components.py
Browse files- ui/components.py +2 -1
ui/components.py
CHANGED
@@ -174,7 +174,7 @@ def create_query_input_section(language="English"):
|
|
174 |
with gr.Group(elem_classes=["query-container"]) as container:
|
175 |
gr.Markdown(t["query_heading"])
|
176 |
query_input = gr.Textbox(
|
177 |
-
label=t["query_input_label"],
|
178 |
placeholder=t["query_placeholder"],
|
179 |
lines=4
|
180 |
)
|
@@ -195,6 +195,7 @@ def create_query_input_section(language="English"):
|
|
195 |
return container, query_input, submit_btn, clear_btn
|
196 |
|
197 |
|
|
|
198 |
def create_response_output_section(language="English"):
|
199 |
from core.utils.translations import translations
|
200 |
t = translations.get(language, translations["English"])
|
|
|
174 |
with gr.Group(elem_classes=["query-container"]) as container:
|
175 |
gr.Markdown(t["query_heading"])
|
176 |
query_input = gr.Textbox(
|
177 |
+
label=t["query_input_label"],
|
178 |
placeholder=t["query_placeholder"],
|
179 |
lines=4
|
180 |
)
|
|
|
195 |
return container, query_input, submit_btn, clear_btn
|
196 |
|
197 |
|
198 |
+
|
199 |
def create_response_output_section(language="English"):
|
200 |
from core.utils.translations import translations
|
201 |
t = translations.get(language, translations["English"])
|