Rehman1603 commited on
Commit
962830c
·
verified ·
1 Parent(s): a83cfe4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def predict_values(start_doc, end_doc, days_option):
50
  close_future_rate = close_rate_model.make_future_dataframe(periods=days_option, freq='D')
51
 
52
  # Generate DOC values within the specified range
53
- doc_values = np.linspace(start_doc, end_doc, num=days_option) # Adjusted line
54
 
55
  # Assign the generated DOC values to the future dataframes
56
  farm_future_rate['DOC'] = doc_values
 
50
  close_future_rate = close_rate_model.make_future_dataframe(periods=days_option, freq='D')
51
 
52
  # Generate DOC values within the specified range
53
+ doc_values = np.linspace(start_doc, end_doc, num=len(farm_future_rate)) # Adjusted line
54
 
55
  # Assign the generated DOC values to the future dataframes
56
  farm_future_rate['DOC'] = doc_values