atsuga commited on
Commit
bc268c0
·
verified ·
1 Parent(s): 6b1f122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,8 +121,8 @@ def predict():
121
  # Menambahkan perubahan total
122
  result = {
123
  'last_price': {
124
- 'sell': round(last_price[0][0], 2),
125
- 'buy': round(last_price[0][1], 2)
126
  },
127
  'predictions': predictions_result,
128
  'total_changes': {
 
121
  # Menambahkan perubahan total
122
  result = {
123
  'last_price': {
124
+ 'sell': round(last_price[0], 2),
125
+ 'buy': round(last_price[1], 2)
126
  },
127
  'predictions': predictions_result,
128
  'total_changes': {