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