-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_streamlit.bat
More file actions
39 lines (32 loc) · 971 Bytes
/
Copy pathrun_streamlit.bat
File metadata and controls
39 lines (32 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
@echo off
REM Script para executar Streamlit no Windows
REM Usa o Python específico do usuário
echo.
echo ========================================
echo Arabidopsis Gene Analysis - Streamlit
echo ========================================
echo.
REM Caminho do Python
set PYTHON="C:\Users\anton\AppData\Local\Microsoft\WindowsApps\python3.13.exe"
REM Verificar se Python está instalado
%PYTHON% --version > nul 2>&1
if errorlevel 1 (
echo ERRO: Python nao encontrado!
echo Instale Python 3.13 ou posterior
pause
exit /b 1
)
echo Verificando dependencias...
%PYTHON% -m pip show streamlit > nul 2>&1
if errorlevel 1 (
echo Instalando dependencias...
%PYTHON% -m pip install --upgrade streamlit biopython pandas numpy matplotlib seaborn scikit-learn
)
echo.
echo Iniciando aplicacao Streamlit...
echo Acesse: http://localhost:8501
echo.
echo (Pressione Ctrl+C para parar o servidor)
echo.
%PYTHON% -m streamlit run frontend/frontend.py
pause