npc0 commited on
Commit
e81588f
·
1 Parent(s): f5f74ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ class GUI:
18
  chapter_titles = epub2txt.content_titles
19
  title = epub2txt.title
20
  return gr.update(
21
- f"# {title}\n\n" + "\n\n".join(
22
  [f"## {ct}\n\n{c}" for ct, c in zip(chapter_titles, ch_list)]))
23
 
24
  def hello(self, profile: gr.OAuthProfile | None):
 
18
  chapter_titles = epub2txt.content_titles
19
  title = epub2txt.title
20
  return gr.update(
21
+ value=f"# {title}\n\n" + "\n\n".join(
22
  [f"## {ct}\n\n{c}" for ct, c in zip(chapter_titles, ch_list)]))
23
 
24
  def hello(self, profile: gr.OAuthProfile | None):