bluemiracle0214 commited on
Commit
e297fb4
·
verified ·
1 Parent(s): a6f4f32

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import gradio as gr
8
  openai.api_key = os.getenv('OPENAI_API_KEY') # Set environment variable on Hugging Face
9
 
10
  # Define the Google Drive folder path where PDF files are stored
11
- drive_folder_path = '/home/user/app/Resin'
12
 
13
  def extract_text_from_pdf(pdf_path, max_chars=3000):
14
  text = ""
 
8
  openai.api_key = os.getenv('OPENAI_API_KEY') # Set environment variable on Hugging Face
9
 
10
  # Define the Google Drive folder path where PDF files are stored
11
+ drive_folder_path = 'Resin/'
12
 
13
  def extract_text_from_pdf(pdf_path, max_chars=3000):
14
  text = ""