Really-amin commited on
Commit
88218a8
·
verified ·
1 Parent(s): f8dfbee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -1,9 +1,3 @@
1
- #!/usr/bin/env python3
2
- """
3
- Crypto Data Aggregator - Complete Gradio Dashboard
4
- 6-tab comprehensive interface for cryptocurrency data analysis
5
- """
6
-
7
  import gradio as gr
8
  import pandas as pd
9
  import plotly.graph_objects as go
@@ -18,7 +12,7 @@ import traceback
18
 
19
  # Import local modules
20
  import config
21
- import database
22
  import collectors
23
  import ai_models
24
  import utils
@@ -29,6 +23,8 @@ logger = utils.setup_logging()
29
  # Initialize database
30
  db = database.get_database()
31
 
 
 
32
  # Global state for background collection
33
  _collection_started = False
34
  _collection_lock = threading.Lock()
 
 
 
 
 
 
 
1
  import gradio as gr
2
  import pandas as pd
3
  import plotly.graph_objects as go
 
12
 
13
  # Import local modules
14
  import config
15
+ import database # برای database.get_database()
16
  import collectors
17
  import ai_models
18
  import utils
 
23
  # Initialize database
24
  db = database.get_database()
25
 
26
+ # Global state for background collection
27
+
28
  # Global state for background collection
29
  _collection_started = False
30
  _collection_lock = threading.Lock()