npc0 commited on
Commit
b2f14ff
·
1 Parent(s): 9f8e6cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(