Spaces:
Build error
Build error
keremsabirli
commited on
Commit
•
7422ac8
1
Parent(s):
d2a4103
initial commit
Browse files- .gitignore +1 -0
- app.py +9 -0
- requirements.txt +3 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.DS_Store
|
app.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
# Write a title and some text to the app:
|
4 |
+
st.title('My Hugging Face Space')
|
5 |
+
st.write('This is a simple Streamlit app in a Hugging Face Space!')
|
6 |
+
|
7 |
+
# Interactive widgets:
|
8 |
+
number = st.slider('Select a number', 0, 10, 5)
|
9 |
+
st.write('You selected:', number)
|
requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
+
transformers
|
3 |
+
torch
|