Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def extract_text_from_api(query):
|
|
37 |
return ""
|
38 |
|
39 |
|
40 |
-
|
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.
|