Spaces:
Sleeping
Sleeping
Update modules/layout.py
Browse files- modules/layout.py +5 -5
modules/layout.py
CHANGED
@@ -8,7 +8,7 @@ class Layout:
|
|
8 |
"""
|
9 |
st.markdown(
|
10 |
"""
|
11 |
-
<h1 style='text-align: center;'>CSV-ChatBot, Talk with your csv-data ! / CSV-ChatBot, csv
|
12 |
""",
|
13 |
unsafe_allow_html=True,
|
14 |
)
|
@@ -20,7 +20,7 @@ class Layout:
|
|
20 |
st.markdown(
|
21 |
"""
|
22 |
<div style='text-align: center;'>
|
23 |
-
<h4>Enter your <a href="https://platform.openai.com/account/api-keys" target="_blank">OpenAI API key</a> to start chatting
|
24 |
</div>
|
25 |
""",
|
26 |
unsafe_allow_html=True,
|
@@ -32,11 +32,11 @@ class Layout:
|
|
32 |
"""
|
33 |
with st.form(key="my_form", clear_on_submit=True):
|
34 |
user_input = st.text_area(
|
35 |
-
"Query:
|
36 |
-
placeholder="Ask me anything about the document...
|
37 |
key="input",
|
38 |
label_visibility="collapsed",
|
39 |
)
|
40 |
-
submit_button = st.form_submit_button(label="Send
|
41 |
is_ready = submit_button and user_input
|
42 |
return is_ready, user_input
|
|
|
8 |
"""
|
9 |
st.markdown(
|
10 |
"""
|
11 |
+
<h1 style='text-align: center;'>CSV-ChatBot, Talk with your csv-data ! / CSV-ChatBot, csv talk with data! ๐ฌ</h1>
|
12 |
""",
|
13 |
unsafe_allow_html=True,
|
14 |
)
|
|
|
20 |
st.markdown(
|
21 |
"""
|
22 |
<div style='text-align: center;'>
|
23 |
+
<h4>Enter your <a href="https://platform.openai.com/account/api-keys" target="_blank">OpenAI API key</a> to start chatting <a href="https://platform.openai.com/account/api-keys" target="_blank">OpenAI API ํค</a>Enter </h4>
|
24 |
</div>
|
25 |
""",
|
26 |
unsafe_allow_html=True,
|
|
|
32 |
"""
|
33 |
with st.form(key="my_form", clear_on_submit=True):
|
34 |
user_input = st.text_area(
|
35 |
+
"Query: ",
|
36 |
+
placeholder="Ask me anything about the document... ",
|
37 |
key="input",
|
38 |
label_visibility="collapsed",
|
39 |
)
|
40 |
+
submit_button = st.form_submit_button(label="Send ")
|
41 |
is_ready = submit_button and user_input
|
42 |
return is_ready, user_input
|