Adityabhaskar commited on
Commit
a6cef74
·
verified ·
1 Parent(s): 58661d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -95,36 +95,36 @@ def process_and_query(openai_api_key, llama_parse_api_key, uploaded_file, select
95
  # --- Gradio Interface ---
96
  with gr.Blocks(
97
  title="Excel Sheet Q&A",
98
- theme=gr.themes.Soft(), # Keeping the Soft theme as a base
99
  css="""
100
  .gradio-container {
101
- background: linear-gradient(to right, #e0eafc, #cfdef3); /* Softer, light blue gradient */
102
- color: #333333; /* Darker text for contrast */
103
  }
104
  .gr-textbox, .gr-dropdown, .gr-file {
105
- background-color: #ffffff; /* White backgrounds for input fields */
106
- border: 1px solid #c0c0c0; /* Subtle border */
107
- color: #333333;
108
  }
109
  .gr-button.primary {
110
- background-color: #4a90e2; /* A pleasant blue for the primary button */
111
  color: white;
112
  border: none;
113
  }
114
  .gr-button.primary:hover {
115
- background-color: #357ABD; /* Slightly darker on hover */
116
  }
117
  .gradio-container h1, .gradio-container h2, .gradio-container h3 {
118
- color: #2c3e50; /* Darker headings */
119
  }
120
  .gradio-container label {
121
- color: #555555; /* Slightly softer label text */
122
  }
123
  """
124
  ) as iface:
125
  gr.Markdown(
126
  """
127
- # Excel Sheet Q&A
128
 
129
  1. Enter your API keys.
130
  2. Upload an Excel file.
 
95
  # --- Gradio Interface ---
96
  with gr.Blocks(
97
  title="Excel Sheet Q&A",
98
+ theme=gr.themes.Soft(), # Keeping the Soft theme as a base for component structure
99
  css="""
100
  .gradio-container {
101
+ background: linear-gradient(to right, #232526, #414345); /* Dark gradient */
102
+ color: #E0E0E0; /* Light text for contrast */
103
  }
104
  .gr-textbox, .gr-dropdown, .gr-file {
105
+ background-color: #333333; /* Dark background for input fields */
106
+ border: 1px solid #555555; /* Subtle lighter border */
107
+ color: #E0E0E0; /* Light text inside inputs */
108
  }
109
  .gr-button.primary {
110
+ background-color: #5e72e4; /* A pleasant, vibrant blue for the primary button */
111
  color: white;
112
  border: none;
113
  }
114
  .gr-button.primary:hover {
115
+ background-color: #4a5cc2; /* Slightly darker on hover */
116
  }
117
  .gradio-container h1, .gradio-container h2, .gradio-container h3 {
118
+ color: #FFFFFF; /* White headings */
119
  }
120
  .gradio-container label {
121
+ color: #AAAAAA; /* Slightly dimmer label text */
122
  }
123
  """
124
  ) as iface:
125
  gr.Markdown(
126
  """
127
+ # 📊 Excel Sheet Q&A
128
 
129
  1. Enter your API keys.
130
  2. Upload an Excel file.