Dede16 commited on
Commit
d9b9d76
·
1 Parent(s): 057e669

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -435,7 +435,7 @@ def artikel_processing(link_scrap,backlink,keyword,openai_key,replicate_key):
435
  def scrap(link_scrap,backlink,keyword,openai_key,replicate_key):
436
  openai.api_key = openai_key
437
  try:
438
- data,gambar= artikel_processing(link_scrap,backlink,keyword,replicate_key)
439
  judul = data['Judul Artikel'][0]
440
  kontent = data["Konten Artikel"][0]
441
  return gambar,judul,kontent
 
435
  def scrap(link_scrap,backlink,keyword,openai_key,replicate_key):
436
  openai.api_key = openai_key
437
  try:
438
+ data,gambar= artikel_processing(link_scrap,backlink,keyword,openai_key,replicate_key)
439
  judul = data['Judul Artikel'][0]
440
  kontent = data["Konten Artikel"][0]
441
  return gambar,judul,kontent