Spaces:
Runtime error
Runtime error
elfsong
commited on
Commit
β’
39f2ddf
1
Parent(s):
e29fb35
update
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def auth():
|
|
8 |
token_f.write("Hello")
|
9 |
|
10 |
with open("/tmp/token.json", "r") as token_f:
|
11 |
-
|
12 |
|
13 |
return credentials
|
14 |
|
@@ -30,6 +30,7 @@ st.title("Lucky Reactor")
|
|
30 |
|
31 |
credentials = auth()
|
32 |
status = True
|
|
|
33 |
|
34 |
st.image("cover.jpg", caption="Reactor is currently " + "running π" if status else "sleeping π΄" + ".")
|
35 |
|
|
|
8 |
token_f.write("Hello")
|
9 |
|
10 |
with open("/tmp/token.json", "r") as token_f:
|
11 |
+
credentials = token_f.read()
|
12 |
|
13 |
return credentials
|
14 |
|
|
|
30 |
|
31 |
credentials = auth()
|
32 |
status = True
|
33 |
+
st.markdown("credentials: ", credentials)
|
34 |
|
35 |
st.image("cover.jpg", caption="Reactor is currently " + "running π" if status else "sleeping π΄" + ".")
|
36 |
|