davideuler
commited on
Commit
·
8ebaba1
1
Parent(s):
a040d47
update for huggingface app
Browse files- README.md +1 -1
- pdf_translator_web.py → app.py +0 -0
- requirements.txt +4 -0
- run_translator_web.sh +1 -1
README.md
CHANGED
|
@@ -32,7 +32,7 @@ The local/remote translation API is invoked on a per-page basis as needed, trigg
|
|
| 32 |
./run_translator_web.sh
|
| 33 |
|
| 34 |
# or just start the streamlit application if you have run the previous script:
|
| 35 |
-
streamlit run
|
| 36 |
|
| 37 |
```
|
| 38 |
|
|
|
|
| 32 |
./run_translator_web.sh
|
| 33 |
|
| 34 |
# or just start the streamlit application if you have run the previous script:
|
| 35 |
+
streamlit run app.py
|
| 36 |
|
| 37 |
```
|
| 38 |
|
pdf_translator_web.py → app.py
RENAMED
|
File without changes
|
requirements.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
git+https://github.com/davideuler/pdf-translator-for-human.git
|
| 2 |
+
openai==1.61.0
|
| 3 |
+
PyMuPDF==1.25.2
|
| 4 |
+
streamlit==1.41.1
|
run_translator_web.sh
CHANGED
|
@@ -6,4 +6,4 @@ pip install -e .
|
|
| 6 |
pip install streamlit pymupdf openai
|
| 7 |
|
| 8 |
# Start the Web Application
|
| 9 |
-
streamlit run
|
|
|
|
| 6 |
pip install streamlit pymupdf openai
|
| 7 |
|
| 8 |
# Start the Web Application
|
| 9 |
+
streamlit run app.py
|