Spaces:
Runtime error
Runtime error
Commit
·
da321ff
1
Parent(s):
3fed8da
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
@st.cache
|
4 |
-
|
5 |
import sys
|
6 |
-
|
7 |
print("Please provide a filename")
|
8 |
sys.exit(1)
|
9 |
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
@st.cache
|
|
|
4 |
import sys
|
5 |
+
if len(sys.argv) != 2:
|
6 |
print("Please provide a filename")
|
7 |
sys.exit(1)
|
8 |
|