sultan-hassan commited on
Commit
e468ee0
·
verified ·
1 Parent(s): f91e0b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -24,7 +24,6 @@ body::before {
24
  background-size: cover;
25
  background-repeat: no-repeat;
26
  background-position: center;
27
- opacity: 0.8; /* Fainter background image */
28
  z-index: -1; /* Keep the background behind text */
29
  }
30
  .gradio-container {
@@ -33,12 +32,6 @@ body::before {
33
  align-items: center;
34
  height: 100vh; /* Ensure the content is vertically centered */
35
  }
36
-
37
- /* Larger text for the output area */
38
- .output_class {
39
- font-size: 1.2em; /* Adjust this to control the size of the output text */
40
- color: black; /* Ensure the text is readable */
41
- }
42
  """
43
 
44
 
@@ -58,7 +51,7 @@ iface = gr.Interface(launch,
58
  inputs="text",
59
  outputs="text",
60
  css=css,
61
- title="Hey I am CosmoGemma! I can answer cosmology questions from/about astroph.CO research articles. How can I help you today?",
62
  description="Gemma_2b_en fine-tuned on QA pairs (~3.5k) generated from Cosmology and Nongalactic Astrophysics articles (arXiv astro-ph.CO) from 2018-2022 and tested on QA pairs (~1k) generated from 2023 articles, scoring over 75% accuracy.")
63
 
64
  iface.launch()
 
24
  background-size: cover;
25
  background-repeat: no-repeat;
26
  background-position: center;
 
27
  z-index: -1; /* Keep the background behind text */
28
  }
29
  .gradio-container {
 
32
  align-items: center;
33
  height: 100vh; /* Ensure the content is vertically centered */
34
  }
 
 
 
 
 
 
35
  """
36
 
37
 
 
51
  inputs="text",
52
  outputs="text",
53
  css=css,
54
+ title="Hey I am CosmoGemma 👋 I can answer cosmology questions from astroph.CO research articles. Try me :)",
55
  description="Gemma_2b_en fine-tuned on QA pairs (~3.5k) generated from Cosmology and Nongalactic Astrophysics articles (arXiv astro-ph.CO) from 2018-2022 and tested on QA pairs (~1k) generated from 2023 articles, scoring over 75% accuracy.")
56
 
57
  iface.launch()