Upload 3 files
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def page_navigation(current_page):
|
|
23 |
if current_page == 0:
|
24 |
user_input = st.session_state.user_input
|
25 |
prompt_response = pipeline(user_input, 10)
|
26 |
-
image_prompts_steps = prompt_response.get("
|
27 |
init_prompt = prompt_response.get("story")
|
28 |
|
29 |
init_img, img_dict = generate_story(init_prompt,
|
@@ -50,7 +50,7 @@ def get_pipeline_data(page_number):
|
|
50 |
|
51 |
def main():
|
52 |
st.set_page_config(page_title="Narrative chat", layout="wide")
|
53 |
-
st.title("
|
54 |
|
55 |
# Initialize the current page
|
56 |
current_page = st.session_state.get('current_page', 0)
|
|
|
23 |
if current_page == 0:
|
24 |
user_input = st.session_state.user_input
|
25 |
prompt_response = pipeline(user_input, 10)
|
26 |
+
image_prompts_steps = prompt_response.get("image_prompts")
|
27 |
init_prompt = prompt_response.get("story")
|
28 |
|
29 |
init_img, img_dict = generate_story(init_prompt,
|
|
|
50 |
|
51 |
def main():
|
52 |
st.set_page_config(page_title="Narrative chat", layout="wide")
|
53 |
+
st.title("DreamGPT")
|
54 |
|
55 |
# Initialize the current page
|
56 |
current_page = st.session_state.get('current_page', 0)
|