mobrown commited on
Commit
5be3942
1 Parent(s): 6091de8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -74,19 +74,22 @@ def analyze_sentiment(sentence):
74
  return sentence, results
75
 
76
 
77
- # Define custom CSS to reduce font size even further
78
  custom_css = """
79
- .gradio-container, .gradio-container *, .output-markdown, .input-markdown {
80
- font-size: 0.4rem !important;
81
  }
82
  .gradio-container h1 {
83
- font-size: 0.8rem !important;
84
  }
85
  .gradio-container h2, .gradio-container h3 {
86
- font-size: 0.6rem !important;
87
  }
88
  .gradio-container .label {
89
- font-size: 0.5rem !important;
 
 
 
90
  }
91
  """
92
 
 
74
  return sentence, results
75
 
76
 
77
+ # Define custom CSS with slightly larger font size
78
  custom_css = """
79
+ .gradio-container, .gradio-container * {
80
+ font-size: 0.5rem !important;
81
  }
82
  .gradio-container h1 {
83
+ font-size: 0.9rem !important;
84
  }
85
  .gradio-container h2, .gradio-container h3 {
86
+ font-size: 0.7rem !important;
87
  }
88
  .gradio-container .label {
89
+ font-size: 0.6rem !important;
90
+ }
91
+ .gradio-container .output-markdown pre {
92
+ font-size: 0.45rem !important;
93
  }
94
  """
95