forked from OpenMS/streamlit-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenMS#24 from Arslan-Siraj/app_exe
fixed local
- Loading branch information
Showing
2 changed files
with
64 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from streamlit.web import cli | ||
|
||
if __name__=='__main__': | ||
cli._main_run_clExplicit('app.py', 'streamlit run') | ||
|
||
cli._main_run_clExplicit(file = 'app.py', command_line = 'streamlit run', args=['local']) #run in local mode | ||
# we will create this function inside our streamlit framework |