Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
import numpy as np
|
|
|
|
| 1 |
import os
|
| 2 |
+
os.system('pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu')
|
| 3 |
+
os.system('pip install -q git+https://github.com/huggingface/transformers.git')
|
| 4 |
+
os.system('pip install pytesseract')
|
| 5 |
+
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
import numpy as np
|