Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
print(os.popen(f'cat /etc/debian_version').read())
|
5 |
print(os.popen(f'cat /etc/issue').read())
|
6 |
print(os.popen(f'apt search tesseract').read())
|
|
|
7 |
|
8 |
def inference(filepath):
|
9 |
return os.popen(f'tesseract {filepath} -').read().strip()
|
|
|
4 |
print(os.popen(f'cat /etc/debian_version').read())
|
5 |
print(os.popen(f'cat /etc/issue').read())
|
6 |
print(os.popen(f'apt search tesseract').read())
|
7 |
+
print(os.popen(f'tesseract --list-langs').read())
|
8 |
|
9 |
def inference(filepath):
|
10 |
return os.popen(f'tesseract {filepath} -').read().strip()
|