Spaces:
Sleeping
Sleeping
VeryMadSoul
commited on
Commit
β’
61f9619
1
Parent(s):
48bdd01
Update app.py
Browse files
app.py
CHANGED
@@ -9,17 +9,12 @@ st.set_page_config(page_title="π€π¬ HugChat")
|
|
9 |
# Hugging Face Credentials
|
10 |
with st.sidebar:
|
11 |
st.title('π€π¬ HugChat')
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
else:
|
17 |
-
|
18 |
-
hf_pass = st.text_input('Enter password:', type='password')
|
19 |
-
if not (hf_email and hf_pass):
|
20 |
-
st.warning('Please enter your credentials!', icon='β οΈ')
|
21 |
-
else:
|
22 |
-
st.success('Proceed to entering your prompt message!', icon='π')
|
23 |
st.markdown('π Learn how to build this app in this [blog](https://blog.streamlit.io/how-to-build-an-llm-powered-chatbot-with-streamlit/)!')
|
24 |
|
25 |
# Store LLM generated responses
|
|
|
9 |
# Hugging Face Credentials
|
10 |
with st.sidebar:
|
11 |
st.title('π€π¬ HugChat')
|
12 |
+
hf_email = st.text_input('Enter E-mail:', type='password')
|
13 |
+
hf_pass = st.text_input('Enter password:', type='password')
|
14 |
+
if not (hf_email and hf_pass):
|
15 |
+
st.warning('Please enter your credentials!', icon='β οΈ')
|
16 |
else:
|
17 |
+
st.success('Proceed to entering your prompt message!', icon='π')
|
|
|
|
|
|
|
|
|
|
|
18 |
st.markdown('π Learn how to build this app in this [blog](https://blog.streamlit.io/how-to-build-an-llm-powered-chatbot-with-streamlit/)!')
|
19 |
|
20 |
# Store LLM generated responses
|