faisalmieaust commited on
Commit
23ee68b
·
verified ·
1 Parent(s): 22dccba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,4 +1,9 @@
1
  import streamlit as st
2
 
 
 
 
 
 
3
  x = st.slider('Select a value')
4
  st.write(x, 'squared is', x * x)
 
1
  import streamlit as st
2
 
3
+ def greet(Name):
4
+ return "Salam " + Name + "!!"
5
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
6
+ demo.launch()
7
+
8
  x = st.slider('Select a value')
9
  st.write(x, 'squared is', x * x)