ajsbsd commited on
Commit
ff29ec8
·
verified ·
1 Parent(s): 3e03d01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -37,17 +37,17 @@ whisper_processor = None
37
  whisper_model = None
38
  first_load = True
39
 
40
- # ================== UI Helpers ==================
41
  def generate_pretty_html(data):
42
  html = """
43
- <div class="font-sans max-w-xl mx-auto bg-gray-100 rounded-lg p-6 shadow-md">
44
- <h2 class="text-xl font-semibold text-gray-800 border-b border-gray-300 pb-2 mb-4">Model Info</h2>
45
  """
46
  for key, value in data.items():
47
  html += f"""
48
  <div class="mb-3">
49
- <strong class="text-blue-700 inline-block w-40">{key}:</strong>
50
- <span class="text-gray-800">{value}</span>
51
  </div>
52
  """
53
  html += "</div>"
 
37
  whisper_model = None
38
  first_load = True
39
 
40
+ ### UI Helpers
41
  def generate_pretty_html(data):
42
  html = """
43
+ <div class="font-sans max-w-xl mx-auto bg-gray-800 text-white rounded-lg p-6 shadow-md">
44
+ <h2 class="text-xl font-semibold text-white border-b border-gray-600 pb-2 mb-4">Model Info</h2>
45
  """
46
  for key, value in data.items():
47
  html += f"""
48
  <div class="mb-3">
49
+ <strong class="text-blue-400 inline-block w-40">{key}:</strong>
50
+ <span class="text-gray-300">{value}</span>
51
  </div>
52
  """
53
  html += "</div>"