Flavio de Oliveira commited on
Commit
d6d190e
1 Parent(s): 93fecfc

Minor change

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -221,14 +221,14 @@ with gr.Blocks(
221
  button.click(predict, inputs=[input, ground_truth], outputs=[output, cer_output])
222
  btn_clear.click(lambda: [None, "", "", ""], outputs=[input, output, ground_truth, cer_output])
223
 
224
- # Try to force light mode
225
- js = """
226
- function () {
227
- gradioURL = window.location.href
228
- if (!gradioURL.endsWith('?__theme=light')) {
229
- window.location.replace(gradioURL + '?__theme=light');
230
- }
231
- }"""
232
 
233
  demo.load(_js=js)
234
 
 
221
  button.click(predict, inputs=[input, ground_truth], outputs=[output, cer_output])
222
  btn_clear.click(lambda: [None, "", "", ""], outputs=[input, output, ground_truth, cer_output])
223
 
224
+ # # Try to force light mode
225
+ # js = """
226
+ # function () {
227
+ # gradioURL = window.location.href
228
+ # if (!gradioURL.endsWith('?__theme=light')) {
229
+ # window.location.replace(gradioURL + '?__theme=light');
230
+ # }
231
+ # }"""
232
 
233
  demo.load(_js=js)
234