Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,6 @@ for dice_type in DICE_TYPES:
|
|
37 |
history["coin_tokens"].append(history["coin_tokens"][-1] + coin_tokens_added)
|
38 |
|
39 |
st.write("๐ฐ๐ Token Accumulation:")
|
40 |
-
#plot_tokens(history["health_tokens"], history["coin_tokens"])
|
41 |
df = pd.concat([pd.DataFrame(history["roll_history"]), pd.DataFrame(history["health_tokens"], columns=["Health Tokens"]), pd.DataFrame(history["coin_tokens"], columns=["Coin Tokens"])], axis=1)
|
42 |
timestamp = datetime.now().strftime("%m-%d-%Y-%H-%M-%S")
|
43 |
filename = f"{username}_{timestamp}.csv"
|
|
|
37 |
history["coin_tokens"].append(history["coin_tokens"][-1] + coin_tokens_added)
|
38 |
|
39 |
st.write("๐ฐ๐ Token Accumulation:")
|
|
|
40 |
df = pd.concat([pd.DataFrame(history["roll_history"]), pd.DataFrame(history["health_tokens"], columns=["Health Tokens"]), pd.DataFrame(history["coin_tokens"], columns=["Coin Tokens"])], axis=1)
|
41 |
timestamp = datetime.now().strftime("%m-%d-%Y-%H-%M-%S")
|
42 |
filename = f"{username}_{timestamp}.csv"
|