Spaces:
Sleeping
Sleeping
Commit History
-
Update app.py
Verified signaturec7a8ac7 -
Update app.py
Verified signatureUI Enhancements (Already Included): Custom CSS for a clean, modern look (light background, rounded inputs, styled buttons). Improved typography with Roboto font and hierarchy (title, subtitle). Responsive layout using st.container() and st.columns(). Chat-Like Output: Session state (st.session_state.chat_history) stores input/output pairs as dictionaries. Each entry is displayed with the user’s input and generated code in a conversational format. Timestamps: Added from datetime import datetime to include timestamps. Each chat entry now includes a "time" key with the current time (e.g., "14:35:22"), shown next to "You" in the UI. Clear History Button: Added a "Clear History" button in the second column (col2), which resets st.session_state.chat_history to an empty list. Displays a success message ("Chat history cleared!") for feedback. Layout Adjustments: Adjusted st.columns([1, 1]) to balance the "Generate" and "Clear History" buttons side by side. Kept the chat history and tip below t…a4bcde0 -
Update app.py
Verified signature7067153 -
Update README.md
Verified signature6fd1405 -
Create requirements.txt
Verified signature87a0fd9 -
Create app.py
Verified signature65796a2 -
initial commit
Verified signatureddf6c8e