Spaces:
Sleeping
Sleeping
Commit
·
2e603d5
1
Parent(s):
013e105
refactor: make adventure log code more concise
Browse files
app.py
CHANGED
|
@@ -80,11 +80,8 @@ with gr.Blocks(theme=seafoam, css=get_content("css/style.css")) as demo:
|
|
| 80 |
)
|
| 81 |
|
| 82 |
with gr.Row():
|
| 83 |
-
html = (
|
| 84 |
-
|
| 85 |
-
+ get_content("htmls/achievement_blank.html")
|
| 86 |
-
)
|
| 87 |
-
f = gr.HTML(html, label="Achievement Log", elem_id="achievement_log")
|
| 88 |
|
| 89 |
# handling player info
|
| 90 |
with gr.Row():
|
|
|
|
| 80 |
)
|
| 81 |
|
| 82 |
with gr.Row():
|
| 83 |
+
html = get_content("htmls/adventure_blank.html")
|
| 84 |
+
adverture_log = gr.HTML(html, label="Adventure Log", elem_id="adventure_log")
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
# handling player info
|
| 87 |
with gr.Row():
|