removed caching - Adithya S K
Browse files
app.py
CHANGED
@@ -15,13 +15,13 @@ load_dotenv()
|
|
15 |
|
16 |
SERVER_URL = os.getenv("SERVER_URL")
|
17 |
|
18 |
-
@st.cache_data
|
19 |
def get_data():
|
20 |
response = requests.get(SERVER_URL)
|
21 |
data = response.json()
|
22 |
return data
|
23 |
|
24 |
-
@st.cache_data
|
25 |
def get_model_info(df):
|
26 |
api = HfApi()
|
27 |
|
|
|
15 |
|
16 |
SERVER_URL = os.getenv("SERVER_URL")
|
17 |
|
18 |
+
# @st.cache_data
|
19 |
def get_data():
|
20 |
response = requests.get(SERVER_URL)
|
21 |
data = response.json()
|
22 |
return data
|
23 |
|
24 |
+
# @st.cache_data
|
25 |
def get_model_info(df):
|
26 |
api = HfApi()
|
27 |
|