mgokg commited on
Commit
8ed0756
·
verified ·
1 Parent(s): 3348b48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -9,12 +9,11 @@ import pandas
9
  import groq
10
  import os
11
 
12
- api_key = os.getenv('groq')
13
-
14
-
15
-
16
  # Use Llama 3 70B powered by Groq for answering
17
  def update(message):
 
18
  client_groq = groq.Client(api_key=api_key)
19
  try:
20
  completion = client_groq.chat.completions.create(
@@ -81,7 +80,7 @@ def parse_links_and_content(ort):
81
  def scrape_links(links):
82
  links=links
83
  contact_details= []
84
- client = Client("mgokg/PerplexicaApi")
85
  for verein in links:
86
  result = client.predict(
87
  prompt=f"{verein}",
 
9
  import groq
10
  import os
11
 
12
+ #api_key = os.getenv('groq')
13
+ client = Client("mgokg/PerplexicaApi")
 
 
14
  # Use Llama 3 70B powered by Groq for answering
15
  def update(message):
16
+ api_key=""
17
  client_groq = groq.Client(api_key=api_key)
18
  try:
19
  completion = client_groq.chat.completions.create(
 
80
  def scrape_links(links):
81
  links=links
82
  contact_details= []
83
+
84
  for verein in links:
85
  result = client.predict(
86
  prompt=f"{verein}",