Spaces:
Runtime error
Runtime error
DHRUV SHEKHAWAT
commited on
Commit
·
dc15a3a
1
Parent(s):
f4645fa
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ st.session_state['api_key'] = api_key
|
|
33 |
max_tokens = st.sidebar.text_input("Max_tokens", value=4096, max_chars=None, key=None,placeholder=4096, type="default")
|
34 |
top_p = st.sidebar.text_input("Top_p", value=0.7, max_chars=None, key=None,placeholder=0.7, type="default")
|
35 |
temperature = st.sidebar.text_input("Temperature", value=0.7, max_chars=None, key=None,placeholder=0.7, type="default")
|
36 |
-
system_message = st.sidebar.text_area("System_message", value="You are a helpful AI assistant.", max_chars=None, key=None,placeholder="You are a helpful AI assistant."
|
37 |
clear_button = st.sidebar.button("Clear Conversation", key="clear")
|
38 |
headers = {
|
39 |
'Content-Type': 'application/json',
|
|
|
33 |
max_tokens = st.sidebar.text_input("Max_tokens", value=4096, max_chars=None, key=None,placeholder=4096, type="default")
|
34 |
top_p = st.sidebar.text_input("Top_p", value=0.7, max_chars=None, key=None,placeholder=0.7, type="default")
|
35 |
temperature = st.sidebar.text_input("Temperature", value=0.7, max_chars=None, key=None,placeholder=0.7, type="default")
|
36 |
+
system_message = st.sidebar.text_area("System_message", value="You are a helpful AI assistant.", max_chars=None, key=None,placeholder="You are a helpful AI assistant.")
|
37 |
clear_button = st.sidebar.button("Clear Conversation", key="clear")
|
38 |
headers = {
|
39 |
'Content-Type': 'application/json',
|