shukdevdatta123 commited on
Commit
dc77f2a
·
verified ·
1 Parent(s): 743abe9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,7 +140,7 @@ def save_uploaded_files(files):
140
  return saved_paths
141
 
142
  # Gradio UI Layout
143
- with gr.Blocks() as demo:
144
  gr.Markdown("# Systematic Review Generator for Research Papers")
145
 
146
  with gr.Accordion("How to Use This App", open=True):
@@ -206,7 +206,7 @@ with gr.Blocks() as demo:
206
  )
207
 
208
  # Add CSS styling
209
- css = """
210
  <style>
211
  #generate_button {
212
  background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%); /* Purple gradient */
 
140
  return saved_paths
141
 
142
  # Gradio UI Layout
143
+ with gr.Blocks(css=custom_css) as demo:
144
  gr.Markdown("# Systematic Review Generator for Research Papers")
145
 
146
  with gr.Accordion("How to Use This App", open=True):
 
206
  )
207
 
208
  # Add CSS styling
209
+ custom_css = """
210
  <style>
211
  #generate_button {
212
  background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%); /* Purple gradient */