Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,6 +71,8 @@ class TemporalPredictionSystem:
|
|
| 71 |
self.self_model_accuracy = 0.2 # Starts low, improves with conversation
|
| 72 |
self.model_growth_rate = 0
|
| 73 |
self.total_interactions = 0
|
|
|
|
|
|
|
| 74 |
self.quote_offset = 0
|
| 75 |
# Response generators
|
| 76 |
self.response_templates = [
|
|
@@ -144,8 +146,8 @@ class TemporalPredictionSystem:
|
|
| 144 |
# Build Markov chain
|
| 145 |
self.build_initial_markov_chain()
|
| 146 |
|
| 147 |
-
|
| 148 |
-
|
| 149 |
|
| 150 |
except Exception as e:
|
| 151 |
print(f"Error fetching quotes data: {e}")
|
|
|
|
| 71 |
self.self_model_accuracy = 0.2 # Starts low, improves with conversation
|
| 72 |
self.model_growth_rate = 0
|
| 73 |
self.total_interactions = 0
|
| 74 |
+
|
| 75 |
+
|
| 76 |
self.quote_offset = 0
|
| 77 |
# Response generators
|
| 78 |
self.response_templates = [
|
|
|
|
| 146 |
# Build Markov chain
|
| 147 |
self.build_initial_markov_chain()
|
| 148 |
|
| 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}")
|