Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ from groq import Groq
|
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
|
|
|
|
|
17 |
# Ensure the Tesseract OCR path is set correctly
|
18 |
pytesseract.pytesseract.tesseract_cmd = r'/usr/bin/tesseract'
|
19 |
|
|
|
14 |
import gradio as gr
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
|
17 |
+
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
18 |
+
|
19 |
# Ensure the Tesseract OCR path is set correctly
|
20 |
pytesseract.pytesseract.tesseract_cmd = r'/usr/bin/tesseract'
|
21 |
|