Luciferalive commited on
Commit
d75d8ab
·
verified ·
1 Parent(s): 34a86a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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