Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import datetime
|
| 3 |
import requests
|
| 4 |
import textwrap
|
| 5 |
-
|
| 6 |
from offres_emploi import Api
|
| 7 |
from offres_emploi.utils import dt_to_str_iso
|
| 8 |
from dash import Dash, html, dcc, callback, Output, Input, dash_table, State, _dash_renderer, clientside_callback
|
|
@@ -856,7 +856,7 @@ def create_repartition(array_value, selectedData, theme):
|
|
| 856 |
|
| 857 |
df_FT = API_France_Travail(array_value)
|
| 858 |
|
| 859 |
-
test =
|
| 860 |
test.contextia(df_FT.to_string(index = False))
|
| 861 |
|
| 862 |
######## localisation ########
|
|
|
|
| 2 |
import datetime
|
| 3 |
import requests
|
| 4 |
import textwrap
|
| 5 |
+
from pythonmonkey import require as js_require
|
| 6 |
from offres_emploi import Api
|
| 7 |
from offres_emploi.utils import dt_to_str_iso
|
| 8 |
from dash import Dash, html, dcc, callback, Output, Input, dash_table, State, _dash_renderer, clientside_callback
|
|
|
|
| 856 |
|
| 857 |
df_FT = API_France_Travail(array_value)
|
| 858 |
|
| 859 |
+
test = js_require('./public/contexte');
|
| 860 |
test.contextia(df_FT.to_string(index = False))
|
| 861 |
|
| 862 |
######## localisation ########
|