Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ class GUI:
|
|
| 13 |
demo.launch()
|
| 14 |
|
| 15 |
def process(self, file):
|
| 16 |
-
ch_list = epub2txt(file, outputlist=True)
|
| 17 |
chapter_titles = epub2txt.content_titles
|
| 18 |
title = epub2txt.title
|
| 19 |
return gr.Update(
|
|
|
|
| 13 |
demo.launch()
|
| 14 |
|
| 15 |
def process(self, file):
|
| 16 |
+
ch_list = epub2txt(file.name, outputlist=True)
|
| 17 |
chapter_titles = epub2txt.content_titles
|
| 18 |
title = epub2txt.title
|
| 19 |
return gr.Update(
|