loubnabnl HF staff commited on
Commit
942c123
1 Parent(s): 0190569

fix imports

Browse files
Files changed (1) hide show
  1. app.py +5 -15
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import os
2
  import time
 
3
 
4
  import folium
5
  import pandas as pd
@@ -7,22 +8,11 @@ import requests
7
  import streamlit as st
8
  from folium import plugins
9
  from huggingface_hub import HfApi
10
- from streamlit_folium import st_folium
11
-
12
- from src.text_content import (
13
- COLOR_MAPPING,
14
- CREDITS_TEXT,
15
- HEADERS_MAPPING,
16
- ICON_MAPPING,
17
- INTRO_TEXT_AR,
18
- INTRO_TEXT_EN,
19
- INTRO_TEXT_FR,
20
- LOGO,
21
- REVIEW_TEXT,
22
- SLOGAN,
23
- )
24
  from src.utils import init_map, parse_gg_sheet
25
-
26
 
27
  TOKEN = os.environ.get("HF_TOKEN", None)
28
  REQUESTS_URL = "https://docs.google.com/spreadsheets/d/1gYoBBiBo1L18IVakHkf3t1fOGvHWb23loadyFZUeHJs/edit#gid=966953708"
 
1
  import os
2
  import time
3
+ from datetime import datetime
4
 
5
  import folium
6
  import pandas as pd
 
8
  import streamlit as st
9
  from folium import plugins
10
  from huggingface_hub import HfApi
11
+ from src.text_content import (COLOR_MAPPING, CREDITS_TEXT, HEADERS_MAPPING,
12
+ ICON_MAPPING, INTRO_TEXT_AR, INTRO_TEXT_EN,
13
+ INTRO_TEXT_FR, LOGO, REVIEW_TEXT, SLOGAN)
 
 
 
 
 
 
 
 
 
 
 
14
  from src.utils import init_map, parse_gg_sheet
15
+ from streamlit_folium import st_folium
16
 
17
  TOKEN = os.environ.get("HF_TOKEN", None)
18
  REQUESTS_URL = "https://docs.google.com/spreadsheets/d/1gYoBBiBo1L18IVakHkf3t1fOGvHWb23loadyFZUeHJs/edit#gid=966953708"