完成了web,ray server,重构了代码
This commit is contained in:
9
src/start_web.sh
Executable file
9
src/start_web.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -exu
|
||||
|
||||
export CHECKPOINT_DIR=/home/lhy/code/TeXify/src/models/ocr_model/model_checkpoint
|
||||
export TOKENIZER_DIR=/home/lhy/code/TeXify/src/models/tokenizer/roberta-tokenizer-550K
|
||||
export USE_CUDA=False
|
||||
export NUM_BEAM=3
|
||||
|
||||
streamlit run web.py
|
||||
Reference in New Issue
Block a user