Xrenya commited on
Commit
587b307
·
1 Parent(s): 80b94cb

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -152,7 +152,7 @@ def read_file(file_obj):
152
  content = f.read()
153
  text = rtf_to_text(content)
154
  else:
155
- return {"text": []}
156
  return text
157
 
158
 
@@ -245,4 +245,4 @@ with gr.Blocks() as demo:
245
  interpret_lime.click(as_pyplot_figure, file, plot)
246
 
247
  if __name__ == "__main__":
248
- demo.launch(share=True)
 
152
  content = f.read()
153
  text = rtf_to_text(content)
154
  else:
155
+ return ""
156
  return text
157
 
158
 
 
245
  interpret_lime.click(as_pyplot_figure, file, plot)
246
 
247
  if __name__ == "__main__":
248
+ demo.launch()