adikwok commited on
Commit
9250488
·
verified ·
1 Parent(s): c61dc03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -847,6 +847,14 @@ def cleanup_old_messages(days: int = 30) -> str:
847
  return f"❌ Failed to clean old messages: {str(e)}"
848
 
849
 
 
 
 
 
 
 
 
 
850
 
851
  # Main Gradio Interface
852
  with gr.Blocks(
 
847
  return f"❌ Failed to clean old messages: {str(e)}"
848
 
849
 
850
+ # Define custom CSS for the Gradio interface
851
+ custom_css = """
852
+ .response-area {background-color: #f9f9f9; border-radius: 5px; padding: 10px;}
853
+ .input-area {border: 1px solid #ccc; border-radius: 5px;}
854
+ .history-display {font-family: monospace; background-color: #f0f0f0;}
855
+ .analytics-display {font-family: monospace; background-color: #e8f4f8;}
856
+ """
857
+
858
 
859
  # Main Gradio Interface
860
  with gr.Blocks(