awacke1 commited on
Commit
aecc4fc
·
1 Parent(s): 3058fd7

Update backup.app.py

Browse files
Files changed (1) hide show
  1. backup.app.py +23 -2
backup.app.py CHANGED
@@ -1,4 +1,4 @@
1
- import streamlit as st
2
  import spacy
3
  import wikipediaapi
4
  import wikipedia
@@ -11,6 +11,28 @@ import datetime
11
  import time
12
 
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  try:
15
  nlp = spacy.load("en_core_web_sm")
16
  except:
@@ -229,4 +251,3 @@ def main():
229
 
230
  if __name__ == "__main__":
231
  main()
232
-
 
1
+ #In streamlit and python edit this example and add tracking of the option selections by adding buttons for the three choice sets for options. Also save the values to text file and show full history after an option is recorded. import streamlit as st
2
  import spacy
3
  import wikipediaapi
4
  import wikipedia
 
11
  import time
12
 
13
 
14
+ st.markdown("""
15
+ Scene 1: The Enchanted Castle
16
+ You arrive at the enchanted castle, surrounded by a forest of thorns. You have heard stories of a beautiful princess asleep within, waiting for someone to awaken her.
17
+ Option 1: Try to make your way through the thorns.
18
+ Option 2: Look for another way in.
19
+ Sentiment: Feels like harsher trials after passive sleep.
20
+ ---
21
+ Scene 2: The Castle's Secrets
22
+ If you made it past the thorns, you discover that the castle is full of hidden chambers, each containing a different trial.
23
+ These trials are designed to test your limits, reveal your inner most desires, and help you understand the suffering of humankind.
24
+ Option 1: Enter the first chamber.
25
+ Option 2: Continue exploring the castle.
26
+ Sentiment: Comedy ending in marriage.
27
+ ---
28
+ Scene 3: The Princess's Awakening
29
+ After navigating the castle's trials, you finally reach the chamber where the princess lies sleeping.
30
+ You are faced with the decision of how to awaken her, knowing that your actions will determine the nature of your relationship with her.
31
+ Option 1: Awaken her with a gentle kiss.
32
+ Option 2: Awaken her through a more assertive act like lifting her up.
33
+ Sentiment: Heart forged awakening with different implications depending on context.
34
+ """)
35
+
36
  try:
37
  nlp = spacy.load("en_core_web_sm")
38
  except:
 
251
 
252
  if __name__ == "__main__":
253
  main()