Spaces:
Runtime error
Runtime error
input text change
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
"""Python file to serve as the frontend"""
|
2 |
import streamlit as st
|
3 |
from streamlit_chat import message
|
@@ -42,7 +44,7 @@ if "past" not in st.session_state:
|
|
42 |
|
43 |
|
44 |
def get_text():
|
45 |
-
input_text = st.text_input("You: ", "
|
46 |
return input_text
|
47 |
|
48 |
|
|
|
1 |
+
# https://towardsai.net/p/machine-learning/deploying-a-langchain-large-language-model-llm-with-streamlit-pinecone?amp=1
|
2 |
+
|
3 |
"""Python file to serve as the frontend"""
|
4 |
import streamlit as st
|
5 |
from streamlit_chat import message
|
|
|
44 |
|
45 |
|
46 |
def get_text():
|
47 |
+
input_text = st.text_input("You: ", "What are the four types of hallucinations?", key="input")
|
48 |
return input_text
|
49 |
|
50 |
|