File size: 626 Bytes
226100d
 
 
 
 
 
 
 
 
8a64540
e5a7929
a2bb924
 
 
 
 
 
 
e5a7929
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os
import streamlit as st  # Front End / UI
from langchain_openai import ChatOpenAI
from langchain.prompts import PromptTemplate
from langchain.chains import LLMChain, SequentialChain

# os.environ["OPENAI_API_KEY"] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

def main():
    st.title("Chain Based Story Generator")

    input1 = st.text_input("An inspirational object to start a story")
    input2 = st.text_input("A tone or a writer's style to shape the story")
    input3 = st.text_input("The final language for translating the text")

    # if st.button("Generate"):
        


if __name__ == "__main__":
    main()