crystalchen commited on
Commit
1c4f613
·
verified ·
1 Parent(s): 4a96f2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def extract_image_table(image_path):
104
  ## Extract Table Information
105
  def extract_table_info(image_path):
106
  # Claude
107
- client = Anthropic(api_key=my_api_key) # Pass the API key here
108
  MODEL_NAME = "claude-3-5-sonnet-20240620"
109
  #Do ascending sort with index of value of "代碼" for all the rows in each section. If there is "X" or "x" in "代碼", treat it as "9".
110
  message_list = [
 
104
  ## Extract Table Information
105
  def extract_table_info(image_path):
106
  # Claude
107
+ client = Anthropic(api_key=ANTHROPIC_API_KEY) # Pass the API key here
108
  MODEL_NAME = "claude-3-5-sonnet-20240620"
109
  #Do ascending sort with index of value of "代碼" for all the rows in each section. If there is "X" or "x" in "代碼", treat it as "9".
110
  message_list = [