Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import yfinance as yf
|
|
| 4 |
import plotly.graph_objects as go
|
| 5 |
|
| 6 |
from datetime import datetime, timedelta
|
| 7 |
-
from data import all_historical_data
|
| 8 |
from config import tickers_to_ids
|
| 9 |
from processes import evolucion_correlacion, plot_evolucion_correlacion_gradio
|
| 10 |
|
|
@@ -13,7 +13,7 @@ from processes import evolucion_correlacion, plot_evolucion_correlacion_gradio
|
|
| 13 |
# CONFIGURACIÓN DE LA APP CON GRADIO
|
| 14 |
# -----------------------------------------------
|
| 15 |
|
| 16 |
-
|
| 17 |
with gr.Blocks(title="Análisis de Correlación") as demo:
|
| 18 |
gr.Image("https://cdn.prod.website-files.com/67174dcb1d43b06a0eae317e/672bbbc7a2b88045e5661994_logo-afi.svg", show_label=False)
|
| 19 |
gr.Markdown("# Analizador de Correlación de Bitcoin")
|
|
|
|
| 4 |
import plotly.graph_objects as go
|
| 5 |
|
| 6 |
from datetime import datetime, timedelta
|
| 7 |
+
from data import all_historical_data, generar_tickers
|
| 8 |
from config import tickers_to_ids
|
| 9 |
from processes import evolucion_correlacion, plot_evolucion_correlacion_gradio
|
| 10 |
|
|
|
|
| 13 |
# CONFIGURACIÓN DE LA APP CON GRADIO
|
| 14 |
# -----------------------------------------------
|
| 15 |
|
| 16 |
+
tickers = generar_tickers()
|
| 17 |
with gr.Blocks(title="Análisis de Correlación") as demo:
|
| 18 |
gr.Image("https://cdn.prod.website-files.com/67174dcb1d43b06a0eae317e/672bbbc7a2b88045e5661994_logo-afi.svg", show_label=False)
|
| 19 |
gr.Markdown("# Analizador de Correlación de Bitcoin")
|