Engr-Saeed commited on
Commit
d4b00fe
·
verified ·
1 Parent(s): 655c4c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -35,6 +35,8 @@ def read_document(file):
35
  api_key = "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" # Replace with your actual API key
36
  client = Groq(api_key=api_key)
37
 
 
 
38
  # Function to validate and truncate content to prevent API errors
39
  def validate_content(text):
40
  # Basic validation to remove unwanted characters
 
35
  api_key = "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" # Replace with your actual API key
36
  client = Groq(api_key=api_key)
37
 
38
+ client = Groq()
39
+
40
  # Function to validate and truncate content to prevent API errors
41
  def validate_content(text):
42
  # Basic validation to remove unwanted characters