Spaces:
Sleeping
Sleeping
Commit
·
fa316bb
1
Parent(s):
5c0c131
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ with container:
|
|
| 50 |
|
| 51 |
if submit_button:
|
| 52 |
st.session_state['message'].append(user_input)
|
| 53 |
-
model_response=getresponse(user_input, st.
|
| 54 |
st.session_state['message'].append(model_response)
|
| 55 |
|
| 56 |
with response_container:
|
|
|
|
| 50 |
|
| 51 |
if submit_button:
|
| 52 |
st.session_state['message'].append(user_input)
|
| 53 |
+
model_response=getresponse(user_input, st.session_state['API_Key'])
|
| 54 |
st.session_state['message'].append(model_response)
|
| 55 |
|
| 56 |
with response_container:
|