Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
# app.py ββ Streamlit front-end for 3-10-year-olds
|
| 2 |
# Drop this file into your Hugging Face Space root.
|
| 3 |
import streamlit as st
|
| 4 |
-
from func import img2text, text2story, story2audio #
|
| 5 |
|
| 6 |
st.set_page_config(
|
| 7 |
page_title="Magic Story Maker",
|
|
@@ -9,7 +9,7 @@ st.set_page_config(
|
|
| 9 |
layout="centered"
|
| 10 |
)
|
| 11 |
|
| 12 |
-
#
|
| 13 |
st.markdown(
|
| 14 |
"""
|
| 15 |
<h1 style='text-align:center; color:#ff914d;'>πΌοΈ β π β π</h1>
|
|
|
|
| 1 |
+
# app.py ββ Streamlit front-end for 3-10-year-olds
|
| 2 |
# Drop this file into your Hugging Face Space root.
|
| 3 |
import streamlit as st
|
| 4 |
+
from func import img2text, text2story, story2audio # our back-end utilities
|
| 5 |
|
| 6 |
st.set_page_config(
|
| 7 |
page_title="Magic Story Maker",
|
|
|
|
| 9 |
layout="centered"
|
| 10 |
)
|
| 11 |
|
| 12 |
+
# ------------- UI -------------
|
| 13 |
st.markdown(
|
| 14 |
"""
|
| 15 |
<h1 style='text-align:center; color:#ff914d;'>πΌοΈ β π β π</h1>
|