Spaces:
Running
Running
File size: 357 Bytes
80c5bed |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import diff_viewer
import streamlit as st
st.set_page_config(page_title="Diff visualizer", page_icon=":eyes:", layout="wide")
col_text_1, col_text_2 = st.columns(2)
text_1 = col_text_1.text_area('Text 1 here:')
text_2 = col_text_2.text_area('Text 2 here:')
st.title("Difference")
diff_viewer.diff_viewer(old_text=text_1, new_text=text_2, lang="none") |