wjc23 commited on
Commit
2582a0a
·
verified ·
1 Parent(s): 33255c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -24,7 +24,16 @@ def process_inputs(AMT, t, BSA, BW, age, height):
24
  feedback = provide_feedback(prediction)
25
 
26
  return prediction ,feedback
27
-
 
 
 
 
 
 
 
 
 
28
 
29
  def provide_feedback(prediction):
30
  if prediction > 120:
@@ -52,7 +61,7 @@ interface = gr.Interface(
52
  ],
53
  description=descriptions,
54
  title="Medication Dosage Discriminator",
55
-
56
  )
57
 
58
  interface.launch()
 
24
  feedback = provide_feedback(prediction)
25
 
26
  return prediction ,feedback
27
+ css = """
28
+ .output-number label, .output-textbox label {
29
+ font-size: 20px;
30
+ font-weight: bold;
31
+ }
32
+ .output-number .output, .output-textbox .output {
33
+ font-size: 18px;
34
+ font-weight: bold;
35
+ }
36
+ """
37
 
38
  def provide_feedback(prediction):
39
  if prediction > 120:
 
61
  ],
62
  description=descriptions,
63
  title="Medication Dosage Discriminator",
64
+ css=css
65
  )
66
 
67
  interface.launch()