GoshawkVortexAI commited on
Commit
69c8733
·
verified ·
1 Parent(s): 866caa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -1,4 +1,4 @@
1
- ```python
2
  # app.py - PARÇA 1/5
3
  # ========================================================================
4
  # İmport ve OKX REST API Client
@@ -115,7 +115,6 @@ class OKXClient:
115
  except Exception as e:
116
  print(f"Error fetching ticker: {str(e)}")
117
  return None
118
- python
119
  # app.py - PARÇA 2/5
120
  # ========================================================================
121
  # Feature Engineering Module
@@ -236,7 +235,7 @@ class FeatureEngineer:
236
 
237
  return df
238
 
239
- ```python
240
  # app.py - PARÇA 3/5
241
  # ========================================================================
242
  # Ensemble Model
@@ -418,7 +417,7 @@ class EnsemblePredictor:
418
  }
419
 
420
  return metrics, ensemble_pred
421
- ```python
422
  # app.py - PARÇA 4/5
423
  # ========================================================================
424
  # Visualization ve Main Pipeline
@@ -633,7 +632,7 @@ class BTCPredictionPipeline:
633
  predictions = [pred[0] * (1 + np.random.normal(0, 0.005)) for _ in range(n_steps)]
634
 
635
  return future_times, predictions
636
- ```python
637
  # app.py - PARÇA 5/5
638
  # ========================================================================
639
  # Gradio Interface
 
1
+
2
  # app.py - PARÇA 1/5
3
  # ========================================================================
4
  # İmport ve OKX REST API Client
 
115
  except Exception as e:
116
  print(f"Error fetching ticker: {str(e)}")
117
  return None
 
118
  # app.py - PARÇA 2/5
119
  # ========================================================================
120
  # Feature Engineering Module
 
235
 
236
  return df
237
 
238
+
239
  # app.py - PARÇA 3/5
240
  # ========================================================================
241
  # Ensemble Model
 
417
  }
418
 
419
  return metrics, ensemble_pred
420
+
421
  # app.py - PARÇA 4/5
422
  # ========================================================================
423
  # Visualization ve Main Pipeline
 
632
  predictions = [pred[0] * (1 + np.random.normal(0, 0.005)) for _ in range(n_steps)]
633
 
634
  return future_times, predictions
635
+
636
  # app.py - PARÇA 5/5
637
  # ========================================================================
638
  # Gradio Interface