diff-visualizer / app.py
loubnabnl's picture
loubnabnl HF staff
Duplicate from SaulLu/diff-visualizer
80c5bed
raw
history blame contribute delete
357 Bytes
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")