Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,6 @@ import streamlit as st
|
|
71 |
# Configure logging
|
72 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
73 |
|
74 |
-
@st.cache_data(ttl=1800, max_entries=30, show_spinner='Retrieving data...')
|
75 |
class UAPAnalyzer:
|
76 |
"""
|
77 |
A class for analyzing and clustering textual data within a pandas DataFrame using
|
@@ -786,7 +785,6 @@ def plot_cramers_v_heatmap(data, significance_level=0.05):
|
|
786 |
plt.title(f"Heatmap of Cramér's V (p < {significance_level})")
|
787 |
return plt
|
788 |
|
789 |
-
@st.cache_data(ttl=1800, max_entries=30, show_spinner='Retrieving data...')
|
790 |
class UAPVisualizer:
|
791 |
def __init__(self, data=None):
|
792 |
pass # Initialization can be added if needed
|
@@ -926,7 +924,6 @@ class UAPVisualizer:
|
|
926 |
plt.show()
|
927 |
|
928 |
|
929 |
-
@st.cache_data(ttl=1800, max_entries=30, show_spinner='Retrieving data...')
|
930 |
class UAPParser:
|
931 |
def __init__(self, api_key, model="gpt-3.5-turbo-0125", col=None, format_long=None):
|
932 |
os.environ['OPENAI_API_KEY'] = api_key
|
|
|
71 |
# Configure logging
|
72 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
73 |
|
|
|
74 |
class UAPAnalyzer:
|
75 |
"""
|
76 |
A class for analyzing and clustering textual data within a pandas DataFrame using
|
|
|
785 |
plt.title(f"Heatmap of Cramér's V (p < {significance_level})")
|
786 |
return plt
|
787 |
|
|
|
788 |
class UAPVisualizer:
|
789 |
def __init__(self, data=None):
|
790 |
pass # Initialization can be added if needed
|
|
|
924 |
plt.show()
|
925 |
|
926 |
|
|
|
927 |
class UAPParser:
|
928 |
def __init__(self, api_key, model="gpt-3.5-turbo-0125", col=None, format_long=None):
|
929 |
os.environ['OPENAI_API_KEY'] = api_key
|