DreamStream-1 commited on
Commit
640491a
·
verified ·
1 Parent(s): c9c3c96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -286,7 +286,8 @@ def predict_disease(symptoms):
286
  from gradio.components import HTML
287
 
288
  # Custom CSS for styling
289
- /* Custom CSS for styling */
 
290
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
291
 
292
  /* General Body Styling */
@@ -303,7 +304,7 @@ h1, h2, h3, h4 {
303
 
304
  h1 {
305
  font-size: 2.5rem; /* Bigger header size */
306
- background: linear-gradient(135deg, #3c6487, #355f7a);
307
  color: #ffffff;
308
  border-radius: 12px;
309
  padding: 15px;
@@ -406,7 +407,7 @@ textarea:focus, input:focus {
406
  margin-bottom: 10px; /* Spacing between inputs */
407
  }
408
  }
409
-
410
  # Gradio Application Interface
411
  with gr.Blocks(css=custom_css) as app:
412
  gr.HTML("<h1>🌟 Well-Being Companion</h1>")
 
286
  from gradio.components import HTML
287
 
288
  # Custom CSS for styling
289
+ custom_css = """
290
+ /* Importing Google Fonts */
291
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
292
 
293
  /* General Body Styling */
 
304
 
305
  h1 {
306
  font-size: 2.5rem; /* Bigger header size */
307
+ background: linear-gradient(135deg, #3c6487, #355f7a); /* Gradient using your color */
308
  color: #ffffff;
309
  border-radius: 12px;
310
  padding: 15px;
 
407
  margin-bottom: 10px; /* Spacing between inputs */
408
  }
409
  }
410
+ """
411
  # Gradio Application Interface
412
  with gr.Blocks(css=custom_css) as app:
413
  gr.HTML("<h1>🌟 Well-Being Companion</h1>")