Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
NikkiM
/
Test2
like
0
Sleeping
App
Files
Files
Community
NikkiM
commited on
Jun 20, 2023
Commit
c546170
•
1 Parent(s):
2337bc3
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-3
app.py
CHANGED
Viewed
@@ -1,4 +1,3 @@
1
-
import
streamlit
as
st
2
3
-
x = st
.
slider
(
'Select a value'
)
4
-
st.write(x, 'squared is', x * x)
1
+
import
gradio
as
gr
2
3
+
gr
.
Interface.load
(
"models/MetaIX/GPT4-X-Alpasta-30b"
)
.launch()