Spaces:
Runtime error
Runtime error
fixed some bugs
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def main():
|
|
50 |
reset_chat()
|
51 |
|
52 |
# Text input for user prompt
|
53 |
-
user_input = st.text_area("Enter your prompt:", height=
|
54 |
|
55 |
# Send button
|
56 |
if st.button("Send"):
|
@@ -90,3 +90,6 @@ def main():
|
|
90 |
|
91 |
# Add Gemini response to chat history
|
92 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
|
|
|
|
|
|
|
50 |
reset_chat()
|
51 |
|
52 |
# Text input for user prompt
|
53 |
+
user_input = st.text_area("Enter your prompt:", height=200)
|
54 |
|
55 |
# Send button
|
56 |
if st.button("Send"):
|
|
|
90 |
|
91 |
# Add Gemini response to chat history
|
92 |
st.session_state.messages.append({"role": "assistant", "content": full_response})
|
93 |
+
|
94 |
+
if __name__ == "__main__":
|
95 |
+
main()
|