AlexanderBenady commited on
Commit
ad72106
1 Parent(s): 124748b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -172,7 +172,16 @@ def wrap_process_file(file_obj, tasks):
172
 
173
 
174
  def create_gradio_interface():
175
- with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
176
  gr.Markdown("# LectorSync 1.0")
177
  gr.Markdown("## Upload your file and select the tasks:")
178
  with gr.Row():
 
172
 
173
 
174
  def create_gradio_interface():
175
+ css = """
176
+ body { background-color: #121212; color: #ffffff; }
177
+ .gradio-container { background-color: #1e1e1e; border-radius: 10px; box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5); padding: 20px; }
178
+ button { background-color: #f1c40f; color: #000000; border: none; border-radius: 5px; padding: 10px 20px; cursor: pointer; font-weight: bold; transition: background-color 0.3s ease; }
179
+ button:hover { background-color: #dab10d; }
180
+ input, textarea, select { background-color: #333333; color: #ffffff; border: 2px solid #f1c40f; border-radius: 5px; padding: 10px; }
181
+ .label { font-weight: bold; margin-bottom: 5px; }
182
+ h1, h2, h3, h4, h5, h6 { color: #f1c40f; }
183
+ """
184
+ with gr.Blocks(css=css) as demo:
185
  gr.Markdown("# LectorSync 1.0")
186
  gr.Markdown("## Upload your file and select the tasks:")
187
  with gr.Row():