abidlabs HF Staff commited on
Commit
96a1566
·
1 Parent(s): e87a647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
 
3
  def print_flagged_dir_and_csv(x):
@@ -12,5 +13,4 @@ def print_flagged_dir_and_csv(x):
12
  dirtree += '{}{}\n'.format(subindent, f)
13
  return dirtree, "flagged/log.csv"
14
 
15
- gr.Interface(print_flagged_dir_and_csv, "textbox", ["textbox", "file"]).launch()
16
-
 
1
+ import os
2
  import gradio as gr
3
 
4
  def print_flagged_dir_and_csv(x):
 
13
  dirtree += '{}{}\n'.format(subindent, f)
14
  return dirtree, "flagged/log.csv"
15
 
16
+ gr.Interface(print_flagged_dir_and_csv, "textbox", ["textbox", "file"]).launch()