Assemm commited on
Commit
5809bcc
·
1 Parent(s): 671af82

Add app.py and requirements.txt for translation app

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
 
 
4
  # Title and Description
5
  st.title("Translation Web App")
6
  st.write("""
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
+ x = st.slider('Select a value')
5
+ st.write(x, 'squared is', x * x)
6
  # Title and Description
7
  st.title("Translation Web App")
8
  st.write("""