camparchimedes commited on
Commit
fa68d0f
·
verified ·
1 Parent(s): 1667a9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -98,8 +98,8 @@ def transcribe(microphone, file_upload):
98
 
99
  # --system info string
100
  system_info = f"""
101
- *Processing time: {output_time:.2f} seconds.*
102
- *Number of words: {word_count}*
103
  """
104
  # *Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB.*
105
  # *GPU Utilization: {gpu_utilization}%, GPU Memory: {gpu_memory}*
@@ -127,12 +127,14 @@ def save_to_pdf(text, summary):
127
  css = """
128
  #transcription_output textarea {
129
  background-color: #000000; /* black */
130
- color: 00FF00; /* text color */
 
131
  }
132
 
133
  #system_info_box textarea {
134
  background-color: #ffe0b3; /* orange */
135
- color: black; /* text color */
 
136
  }
137
  """
138
  iface = gr.Blocks(css=css)
 
98
 
99
  # --system info string
100
  system_info = f"""
101
+ Processing time: {output_time:.2f} seconds.
102
+ Number of words: {word_count}
103
  """
104
  # *Memory: {memory.total / (1024 * 1024 * 1024):.2f}GB, used: {memory.percent}%, available: {memory.available / (1024 * 1024 * 1024):.2f}GB.*
105
  # *GPU Utilization: {gpu_utilization}%, GPU Memory: {gpu_memory}*
 
127
  css = """
128
  #transcription_output textarea {
129
  background-color: #000000; /* black */
130
+ color: #00FF00 !important; /* text color */
131
+ font-size: 16px; /* font size */
132
  }
133
 
134
  #system_info_box textarea {
135
  background-color: #ffe0b3; /* orange */
136
+ color: black !important; /* text color */
137
+ font-size: 16px; /* font size */
138
  }
139
  """
140
  iface = gr.Blocks(css=css)