Spaces:
Sleeping
Sleeping
Stephen Zweibel
commited on
Commit
·
509fa5d
1
Parent(s):
ec0096e
Update app for Hugging Face
Browse files
app.py
CHANGED
@@ -88,7 +88,8 @@ with tab1:
|
|
88 |
with st.spinner("Extracting rules from URL..."):
|
89 |
url_rules = get_rules_from_url(journal_url)
|
90 |
st.session_state.url_rules = url_rules
|
91 |
-
|
|
|
92 |
|
93 |
# Add pasted rules if provided
|
94 |
if pasted_rules:
|
|
|
88 |
with st.spinner("Extracting rules from URL..."):
|
89 |
url_rules = get_rules_from_url(journal_url)
|
90 |
st.session_state.url_rules = url_rules
|
91 |
+
if url_rules:
|
92 |
+
combined_rules += url_rules
|
93 |
|
94 |
# Add pasted rules if provided
|
95 |
if pasted_rules:
|