circulartext commited on
Commit
8ee155f
·
verified ·
1 Parent(s): a9475cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -50
app.py CHANGED
@@ -1,12 +1,16 @@
1
  import streamlit as st
2
  import time
3
 
4
- # Set page background color to black
5
  st.markdown(
6
  """
7
  <style>
8
  .reportview-container {
9
  background: black;
 
 
 
 
10
  }
11
  </style>
12
  """,
@@ -20,61 +24,21 @@ st.title("The Last A.I")
20
  st.image("key1.jpg", caption="Your Image Caption", use_column_width=True)
21
 
22
  # Text to type
23
- text_to_type = """Wake up, Benshiro, wake up! We've got A.I. training ahead,"
24
-
25
- urged Benshiro's partner as they prepared for their day in sector A1-2000,
26
-
27
- the hub of elite developers serving the World One government. It was the year 2125.
28
-
29
- Benshiro blinked away sleep, his mind already racing ahead to the monumental task
30
-
31
- awaiting them. "What's on your mind? What's the game plan for this week, once we finally
32
-
33
- activate World Model Proto 1010? It's the culmination of years of struggle, bringing
34
 
35
- together every corner of the world that we've been striving to connect."
 
 
36
 
37
  2033
38
- The economically disadvantaged community was being targeted by the police, and if you were
39
- living in poverty in One Country, you were looked down upon. In 2033, a civil war broke out
40
- in Philadelphia, Pennsylvania, New York, and Chicago. Citizens, fed up with losing jobs to A.I.
41
- and enduring systemic mistreatment, initiated the conflict. After the long fight, there were
42
- substantial changes and more restrictive rules implemented in communities, along with
43
- increased travel restrictions for all citizens. Although schools and other institutions
44
- remained, life had fundamentally changed for everyone in America.
45
 
46
  2034
47
- In 2034, Anonymous developed an A.I. hack that no bank or institution could counter.
48
- This forced all American citizens to join One Country and secure their finances through
49
- One Country accounts. These accounts were managed by the government and intended to provide
50
- security and fairness.
51
 
52
  2036
53
- By 2036, the government implemented a new policy for One Country accounts.
54
- If individuals committed a crime and did not turn themselves in, their accounts
55
- would be frozen. This rule was highly controversial, as it curtailed personal freedoms.
56
-
57
- In the same year, a terrorist attack by the Black Hackers involved 5000 drones targeting
58
- a prominent community in Chicago. The attack was a response to the community cutting off
59
- access to clean water for poorer areas.
60
-
61
- 2040
62
- By 2040, One Country faced threats from foreign nations for various reasons. To alleviate
63
- internal tensions, leaders opted to appoint community leaders for distinct regions called
64
- senators. The age-old practice of personal land ownership was abolished, except for parcels
65
- designated as outskirts land, compelling individuals to relinquish their land rights to One
66
- Country. This measure was prompted by factors including population expansion and the looming
67
- specter of external assaults, such as potential pandemics or drone strikes orchestrated by
68
- terrorist factions.
69
-
70
- 2043
71
- The year 2043 witnessed a dramatic escalation in conflict as China unleashed a formidable
72
- A.I. to disrupt the accounts of One Country s citizens. The calculated strike plunged the
73
- accounts of 78% of One Country s citizens into disarray, signaling the onset of a pivotal
74
- and tumultuous era in history.
75
-
76
-
77
- """
78
 
79
  # Main content area
80
  st.write("This is a Streamlit app where the text appears as if it's being typed like an A.I.")
@@ -95,4 +59,4 @@ for char in text_to_type:
95
  time.sleep(0.05) # Adjust typing speed here
96
 
97
  # Add a delay after typing is complete
98
- time.sleep(1)
 
1
  import streamlit as st
2
  import time
3
 
4
+ # Set page background color to black and increase width
5
  st.markdown(
6
  """
7
  <style>
8
  .reportview-container {
9
  background: black;
10
+ padding: 0;
11
+ }
12
+ .main .block-container {
13
+ max-width: 90vw; /* Adjust the value as needed */
14
  }
15
  </style>
16
  """,
 
24
  st.image("key1.jpg", caption="Your Image Caption", use_column_width=True)
25
 
26
  # Text to type
27
+ text_to_type = """Wake up, Benshiro, wake up! We've got A.I. training ahead," urged Benshiro's partner as they prepared
28
+ for their day in sector A1-2000, the hub of elite developers serving the World One government. It was the year 2125.
 
 
 
 
 
 
 
 
 
29
 
30
+ Benshiro blinked away sleep, his mind already racing ahead to the monumental task awaiting them. "What's on your mind?
31
+ What's the game plan for this week, once we finally activate World Model Proto 1010? It's the culmination of years of
32
+ struggle, bringing together every corner of the world that we've been striving to connect."
33
 
34
  2033
35
+ The economically disadvantaged community was being targeted by the police, and if you were living in poverty in One Country, you were looked down upon. In 2033, a civil war broke out in Philadelphia, Pennsylvania, New York, and Chicago. Citizens, fed up with losing jobs to A.I. and enduring systemic mistreatment, initiated the conflict. After the long fight, there were substantial changes and more restrictive rules implemented in communities, along with increased travel restrictions for all citizens. Although schools and other institutions remained, life had fundamentally changed for everyone in America.
 
 
 
 
 
 
36
 
37
  2034
38
+ In 2034, Anonymous developed an A.I. hack that no bank or institution could counter. This forced all American citizens to join One Country and secure their finances through One Country accounts. These accounts were managed by the government and intended to provide security and fairness.
 
 
 
39
 
40
  2036
41
+ By 2036, the government implemented a new policy for One Country accounts. If individuals committed a crime and did not turn themselves in, their accounts would be frozen. This rule was highly controversial, as it curtailed personal freedoms."""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  # Main content area
44
  st.write("This is a Streamlit app where the text appears as if it's being typed like an A.I.")
 
59
  time.sleep(0.05) # Adjust typing speed here
60
 
61
  # Add a delay after typing is complete
62
+ time.sleep(1)