shohan1010 commited on
Commit
627490d
·
verified ·
1 Parent(s): 8e5896d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -3
app.py CHANGED
@@ -1,4 +1,12 @@
1
- import streamlit as st
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
 
 
 
1
+ from sufast import App
2
 
3
+ app = App()
4
+
5
+ @app.get("/")
6
+ def hello():
7
+ return {"message": "Hello from Sufast 👋"}
8
+ @app.get("/shohan")
9
+ def hello():
10
+ return {"message": "Hello from shohan Buddy 👋"}
11
+
12
+ app.run(production=True)