Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -287,7 +287,7 @@ elif input_method == "Paste Content":
|
|
287 |
|
288 |
content = st.sidebar.text_area("Paste file content here:", height=200)
|
289 |
|
290 |
-
if content and st.sidebar.button("Parse Content"):
|
291 |
try:
|
292 |
# Create a temporary file with the pasted content
|
293 |
suffix_map = {"XYZ": ".xyz", "CIF": ".cif", "extXYZ": ".extxyz",
|
|
|
287 |
|
288 |
content = st.sidebar.text_area("Paste file content here:", height=200)
|
289 |
|
290 |
+
if content: #and st.sidebar.button("Parse Content"):
|
291 |
try:
|
292 |
# Create a temporary file with the pasted content
|
293 |
suffix_map = {"XYZ": ".xyz", "CIF": ".cif", "extXYZ": ".extxyz",
|