Update app.py
Browse files
app.py
CHANGED
@@ -32,10 +32,13 @@ st.header("Samim LangChain Demo")
|
|
32 |
|
33 |
#Gets the user input
|
34 |
def get_text():
|
35 |
-
input_text = st.text_input("You:
|
|
|
|
|
|
|
|
|
36 |
return input_text
|
37 |
|
38 |
-
|
39 |
user_input=get_text()
|
40 |
response = load_answer(user_input)
|
41 |
|
|
|
32 |
|
33 |
#Gets the user input
|
34 |
def get_text():
|
35 |
+
input_text = st.text_input("You:", "currency of india")
|
36 |
+
if input_text.isalpha():
|
37 |
+
st.write(text, 'string', )
|
38 |
+
else:
|
39 |
+
st.write('Please type in a string ')
|
40 |
return input_text
|
41 |
|
|
|
42 |
user_input=get_text()
|
43 |
response = load_answer(user_input)
|
44 |
|