mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-14 22:13:41 +03:00
Added config.toml file again.
This commit is contained in:
parent
b06199ebb6
commit
7bd036a279
49
.streamlit/config.toml
Normal file
49
.streamlit/config.toml
Normal file
@ -0,0 +1,49 @@
|
||||
[global]
|
||||
disableWatchdogWarning = false
|
||||
showWarningOnDirectExecution = true
|
||||
dataFrameSerialization = "arrow"
|
||||
|
||||
[logger]
|
||||
level = "info"
|
||||
messageFormat = "%(asctime)s %(message)s"
|
||||
|
||||
[client]
|
||||
caching = true
|
||||
displayEnabled = true
|
||||
showErrorDetails = true
|
||||
|
||||
[runner]
|
||||
magicEnabled = true
|
||||
installTracer = false
|
||||
fixMatplotlib = true
|
||||
postScriptGC = true
|
||||
fastReruns = false
|
||||
|
||||
[server]
|
||||
folderWatchBlacklist = []
|
||||
fileWatcherType = "auto"
|
||||
cookieSecret = ""
|
||||
headless = false
|
||||
runOnSave = false
|
||||
port = 8501
|
||||
baseUrlPath = ""
|
||||
enableCORS = true
|
||||
enableXsrfProtection = true
|
||||
maxUploadSize = 200
|
||||
maxMessageSize = 200
|
||||
enableWebsocketCompression = false
|
||||
|
||||
[browser]
|
||||
serverAddress = "localhost"
|
||||
gatherUsageStats = false
|
||||
serverPort = 8501
|
||||
|
||||
[mapbox]
|
||||
token = ""
|
||||
|
||||
[deprecation]
|
||||
showfileUploaderEncoding = true
|
||||
showPyplotGlobalUse = true
|
||||
|
||||
[theme]
|
||||
base = "dark"
|
12
daisi_app.py
12
daisi_app.py
@ -1,4 +1,4 @@
|
||||
import os
|
||||
import os, subprocess
|
||||
import yaml
|
||||
|
||||
print (os.getcwd)
|
||||
@ -20,9 +20,7 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
#try:
|
||||
#subprocess.run(['python', '-m', 'streamlit', "run" ,os.path.join("..","scripts/webui_streamlit.py"), "--theme.base dark"], stdout=subprocess.DEVNULL)
|
||||
#except FileExistsError:
|
||||
#subprocess.run(['python', '-m', 'streamlit', "run" ,"scripts/webui_streamlit.py", "--theme.base dark"], stdout=subprocess.DEVNULL)
|
||||
|
||||
import scripts.webui_streamlit
|
||||
try:
|
||||
subprocess.run(['python', '-m', 'streamlit', "run" ,os.path.join("..","scripts/webui_streamlit.py"), "--theme.base dark"], stdout=subprocess.DEVNULL)
|
||||
except FileExistsError:
|
||||
subprocess.run(['python', '-m', 'streamlit', "run" ,"scripts/webui_streamlit.py", "--theme.base dark"], stdout=subprocess.DEVNULL)
|
0
scripts/__init__.py
Normal file
0
scripts/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user