Spaces:
Runtime error
Runtime error
elfsong
commited on
Commit
β’
0ab972e
1
Parent(s):
7438000
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 |
|
@@ -29,7 +29,7 @@ def activate_server():
|
|
29 |
st.title("Lucky Reactor")
|
30 |
|
31 |
credentials = auth()
|
32 |
-
|
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 |
+
st.write(token_f.read())
|
12 |
|
13 |
return credentials
|
14 |
|
|
|
29 |
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 |
|