Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -598,9 +598,9 @@ def main():
|
|
598 |
|
599 |
# Show input in a text box for editing if detected
|
600 |
if val:
|
601 |
-
val_stripped = val.replace('
|
602 |
edited_input = st.text_area("✏️ Edit Input:", value=val_stripped, height=100)
|
603 |
-
edited_input = edited_input.replace('\n', ' ')
|
604 |
|
605 |
run_option = st.selectbox("Model:", ["Arxiv", "GPT-4o", "Claude-3.5"])
|
606 |
col1, col2 = st.columns(2)
|
|
|
598 |
|
599 |
# Show input in a text box for editing if detected
|
600 |
if val:
|
601 |
+
val_stripped = val.replace('\\n', ' ')
|
602 |
edited_input = st.text_area("✏️ Edit Input:", value=val_stripped, height=100)
|
603 |
+
#edited_input = edited_input.replace('\n', ' ')
|
604 |
|
605 |
run_option = st.selectbox("Model:", ["Arxiv", "GPT-4o", "Claude-3.5"])
|
606 |
col1, col2 = st.columns(2)
|