Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,13 @@ from langchain.chains import LLMChain, SequentialChain
|
|
| 9 |
def main():
|
| 10 |
st.title("Chain Based Story Generator")
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
if __name__ == "__main__":
|
| 14 |
main()
|
|
|
|
| 9 |
def main():
|
| 10 |
st.title("Chain Based Story Generator")
|
| 11 |
|
| 12 |
+
input1 = st.text_input("An inspirational object to start a story")
|
| 13 |
+
input2 = st.text_input("A tone or a writer's style to shape the story")
|
| 14 |
+
input3 = st.text_input("The final language for translating the text")
|
| 15 |
+
|
| 16 |
+
# if st.button("Generate"):
|
| 17 |
+
|
| 18 |
+
|
| 19 |
|
| 20 |
if __name__ == "__main__":
|
| 21 |
main()
|