jthteo commited on
Commit
6d8d501
1 Parent(s): 79b926e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -91,8 +91,6 @@ css = """
91
 
92
  block = gr.Blocks(css=css)
93
 
94
-
95
-
96
  with block:
97
  gr.HTML(
98
  """
@@ -137,6 +135,8 @@ with block:
137
  <rect x="23" y="46" width="23" height="23" fill="#D9D9D9"></rect>
138
  <rect x="23" y="115" width="23" height="23" fill="#AEAEAE"></rect>
139
  <rect x="23" y="69" width="23" height="23" fill="black"></rect>
 
 
140
  </svg>
141
  <h1 style="font-weight: 900; margin-bottom: 7px;">
142
  Whisper
@@ -162,8 +162,6 @@ with block:
162
  btn = gr.Button("Transcribe")
163
  text = gr.Textbox(show_label=False)
164
 
165
-
166
-
167
 
168
  btn.click(inference, inputs=[audio], outputs=[text])
169
 
 
91
 
92
  block = gr.Blocks(css=css)
93
 
 
 
94
  with block:
95
  gr.HTML(
96
  """
 
135
  <rect x="23" y="46" width="23" height="23" fill="#D9D9D9"></rect>
136
  <rect x="23" y="115" width="23" height="23" fill="#AEAEAE"></rect>
137
  <rect x="23" y="69" width="23" height="23" fill="black"></rect>
138
+ <circle cx="62" cy="45" r="36" stroke="blue" stroke-width="4" fill="blue" />
139
+ <polygon points="40, 30, 84, 30, 62, 69" style="fill:red;stroke:red;stroke-width:5;" />
140
  </svg>
141
  <h1 style="font-weight: 900; margin-bottom: 7px;">
142
  Whisper
 
162
  btn = gr.Button("Transcribe")
163
  text = gr.Textbox(show_label=False)
164
 
 
 
165
 
166
  btn.click(inference, inputs=[audio], outputs=[text])
167