Spaces:
Runtime error
Runtime error
yuanjie
commited on
Commit
•
15374ec
1
Parent(s):
4d15df3
update
Browse files- git_init.sh +3 -0
- pages/{0__Demo.py → 0__Info.py} +2 -4
- requirements.txt +5 -1
git_init.sh
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
#!/usr/bin/env bash
|
2 |
|
|
|
|
|
|
|
3 |
git pull
|
4 |
git push
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
|
3 |
+
git add *
|
4 |
+
git commit -m "update"
|
5 |
+
|
6 |
git pull
|
7 |
git push
|
pages/{0__Demo.py → 0__Info.py}
RENAMED
@@ -1,5 +1,4 @@
|
|
1 |
import streamlit as st
|
2 |
-
from streamlit.hello.utils import show_code
|
3 |
import inspect
|
4 |
import textwrap
|
5 |
|
@@ -42,11 +41,10 @@ class Page(object):
|
|
42 |
st.markdown("---")
|
43 |
|
44 |
|
45 |
-
|
46 |
class SPage(Page):
|
47 |
|
48 |
def main(self):
|
49 |
-
st.markdown("
|
50 |
|
51 |
|
52 |
-
SPage(
|
|
|
1 |
import streamlit as st
|
|
|
2 |
import inspect
|
3 |
import textwrap
|
4 |
|
|
|
41 |
st.markdown("---")
|
42 |
|
43 |
|
|
|
44 |
class SPage(Page):
|
45 |
|
46 |
def main(self):
|
47 |
+
st.markdown(f"{st}=={st.__version__}")
|
48 |
|
49 |
|
50 |
+
SPage().main()
|
requirements.txt
CHANGED
@@ -1 +1,5 @@
|
|
1 |
-
meutils
|
|
|
|
|
|
|
|
|
|
1 |
+
meutils
|
2 |
+
|
3 |
+
streamlit
|
4 |
+
transformers
|
5 |
+
torch
|