XPMaster commited on
Commit
e12add2
·
1 Parent(s): 4190cf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -9,6 +9,11 @@ import zipfile
9
  import datetime
10
  g_mapping = None
11
 
 
 
 
 
 
12
  def download_csv_as_dataframe(url):
13
  import io
14
  import pandas as pd
@@ -429,7 +434,7 @@ def process(files,button):
429
  return gr.File.update(value=final_file,visible=True),msg
430
  #return(str(files)+'fole')
431
 
432
- with gr.Blocks(css=None) as demo:
433
  gr.Markdown(
434
  """
435
  <style>
@@ -473,7 +478,7 @@ with gr.Blocks(css=None) as demo:
473
  with gr.Row():
474
  out = gr.File(label='Cleaned files',visible=False)
475
  with gr.Row():
476
- log = gr.Textbox(label='Process log 📄',visible=True)
477
 
478
  bt.click(fn = process, inputs=[inp,bt], outputs=[out,log])
479
 
 
9
  import datetime
10
  g_mapping = None
11
 
12
+ elems = """
13
+ #warning {background-color: #FFCCCB}
14
+ .feedback textarea {font-size: 24px !important}
15
+ """
16
+
17
  def download_csv_as_dataframe(url):
18
  import io
19
  import pandas as pd
 
434
  return gr.File.update(value=final_file,visible=True),msg
435
  #return(str(files)+'fole')
436
 
437
+ with gr.Blocks(css=elems) as demo:
438
  gr.Markdown(
439
  """
440
  <style>
 
478
  with gr.Row():
479
  out = gr.File(label='Cleaned files',visible=False)
480
  with gr.Row():
481
+ log = gr.Textbox(label='Process log 📄',visible=True,elem_classes='feedback')
482
 
483
  bt.click(fn = process, inputs=[inp,bt], outputs=[out,log])
484