Spaces:
Build error
Build error
legaltextai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ generation_config = {
|
|
13 |
"response_mime_type": "text/plain",
|
14 |
}
|
15 |
|
16 |
-
|
17 |
@st.cache_data(ttl=3600)
|
18 |
def extract_text_from_api(query):
|
19 |
api_url = "https://urchin-app-c3zop.ondigitalocean.app/extract_text"
|
@@ -56,6 +55,4 @@ with tab1:
|
|
56 |
if summary:
|
57 |
st.write(summary.text)
|
58 |
else:
|
59 |
-
st.write("No case text found.")
|
60 |
-
else:
|
61 |
-
st.write("Enter a case name to begin.")
|
|
|
13 |
"response_mime_type": "text/plain",
|
14 |
}
|
15 |
|
|
|
16 |
@st.cache_data(ttl=3600)
|
17 |
def extract_text_from_api(query):
|
18 |
api_url = "https://urchin-app-c3zop.ondigitalocean.app/extract_text"
|
|
|
55 |
if summary:
|
56 |
st.write(summary.text)
|
57 |
else:
|
58 |
+
st.write("No case text found.")
|
|
|
|