Spaces:
Runtime error
Runtime error
LaurentTRIPIED
commited on
Commit
•
1883e68
1
Parent(s):
6d6d315
V1.3 RSE
Browse files
app.py
CHANGED
@@ -2,10 +2,13 @@ import streamlit as st
|
|
2 |
import pandas as pd
|
3 |
import requests
|
4 |
import folium
|
5 |
-
import tensorflow as tf
|
6 |
from streamlit_folium import folium_static
|
7 |
from transformers import pipeline
|
8 |
|
|
|
|
|
|
|
|
|
9 |
# Fonction pour récupérer les données de l'API
|
10 |
def get_data():
|
11 |
url = "https://opendata.bordeaux-metropole.fr/api/records/1.0/search/?dataset=met_etablissement_rse&q=&rows=100"
|
|
|
2 |
import pandas as pd
|
3 |
import requests
|
4 |
import folium
|
|
|
5 |
from streamlit_folium import folium_static
|
6 |
from transformers import pipeline
|
7 |
|
8 |
+
import tensorflow as tf
|
9 |
+
print("TensorFlow version:", tf.__version__)
|
10 |
+
print("Keras version:", tf.keras.__version__)
|
11 |
+
|
12 |
# Fonction pour récupérer les données de l'API
|
13 |
def get_data():
|
14 |
url = "https://opendata.bordeaux-metropole.fr/api/records/1.0/search/?dataset=met_etablissement_rse&q=&rows=100"
|