louiecerv commited on
Commit
9628f0b
·
1 Parent(s): 7a284c6

fixed some bugs

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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=100)
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()