Ankur Goyal commited on
Commit
02201b7
1 Parent(s): 922a92e

Fix PDF documents

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -100,6 +100,7 @@ def process_path(path):
100
  gr.update(visible=True),
101
  gr.update(visible=False, value=None),
102
  gr.update(visible=False, value=None),
 
103
  )
104
  except Exception as e:
105
  traceback.print_exc()
@@ -111,6 +112,7 @@ def process_path(path):
111
  gr.update(visible=False, value=None),
112
  gr.update(visible=False, value=None),
113
  gr.update(visible=True, value=error) if error is not None else None,
 
114
  )
115
 
116
 
 
100
  gr.update(visible=True),
101
  gr.update(visible=False, value=None),
102
  gr.update(visible=False, value=None),
103
+ None,
104
  )
105
  except Exception as e:
106
  traceback.print_exc()
 
112
  gr.update(visible=False, value=None),
113
  gr.update(visible=False, value=None),
114
  gr.update(visible=True, value=error) if error is not None else None,
115
+ None,
116
  )
117
 
118