FIX python3/pip3
This commit is contained in:
4
app.py
4
app.py
@@ -1,6 +1,6 @@
|
||||
# http://localhost:8501
|
||||
# http://localhost:5002
|
||||
try: import os, io, tempfile, streamlit
|
||||
except: os.system('pip install -q streamlit')
|
||||
except: os.system('python3 -m pip install -q streamlit')
|
||||
finally: import streamlit as st
|
||||
if st.runtime.exists():
|
||||
st.title('맥모닝 OCR')
|
||||
|
||||
Reference in New Issue
Block a user