Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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
|
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(
|
|
|
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()
|