AEUPH commited on
Commit
aa0cae4
·
verified ·
1 Parent(s): 4c02df7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -149,10 +149,10 @@ class TemporalPredictionSystem:
149
  # Increment the offset for next iteration to load additional quotes
150
  self.quote_offset += 100
151
 
152
- except Exception as e:
153
- print(f"Error fetching quotes data: {e}")
154
- # Build the Markov chain with default corpus if fetch fails
155
- self.build_initial_markov_chain()
156
 
157
  # Initialize the system (or reinitialize if desired)
158
  self.initialize()
 
149
  # Increment the offset for next iteration to load additional quotes
150
  self.quote_offset += 100
151
 
152
+ except Exception as e:
153
+ print(f"Error fetching quotes data: {e}")
154
+ # Build the Markov chain with default corpus if fetch fails
155
+ self.build_initial_markov_chain()
156
 
157
  # Initialize the system (or reinitialize if desired)
158
  self.initialize()