Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def MainExecutionChatGPT():
|
|
118 |
st.write("Initiating the GPT-4 model.")
|
119 |
FileWriter(Data='3')
|
120 |
|
121 |
-
if uinput
|
122 |
answer = ChatGPTBrain(uinput)
|
123 |
with st.chat_message("assistant"):
|
124 |
st.write(answer)
|
|
|
118 |
st.write("Initiating the GPT-4 model.")
|
119 |
FileWriter(Data='3')
|
120 |
|
121 |
+
if uinput := st.chat_input("Enter your query: "):
|
122 |
answer = ChatGPTBrain(uinput)
|
123 |
with st.chat_message("assistant"):
|
124 |
st.write(answer)
|