legaltextai commited on
Commit
efe8f0f
·
verified ·
1 Parent(s): d90c828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def extract_text_from_api(query):
37
  return ""
38
 
39
 
40
- @st.cache_data(ttl=3600)
41
  def get_summary(text):
42
  model = genai.GenerativeModel('gemini-1.5-flash', generation_config=generation_config)
43
  response = model.generate_content(f'''You are a law professor specialized in legal writing and legal research.
 
37
  return ""
38
 
39
 
40
+ #@st.cache_data(ttl=3600)
41
  def get_summary(text):
42
  model = genai.GenerativeModel('gemini-1.5-flash', generation_config=generation_config)
43
  response = model.generate_content(f'''You are a law professor specialized in legal writing and legal research.