minko186 commited on
Commit
b37b895
·
verified ·
1 Parent(s): 914ba6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def ai_generated_test_sapling(text):
64
  def ai_generated_test_copyleak(text):
65
 
66
  conn = http.client.HTTPSConnection("api.copyleaks.com")
67
- payload = "{\n \"text\": \"" + text + ""\"\n}"
68
 
69
  headers = {
70
  'Authorization': "",
 
64
  def ai_generated_test_copyleak(text):
65
 
66
  conn = http.client.HTTPSConnection("api.copyleaks.com")
67
+ payload = {"text": text}
68
 
69
  headers = {
70
  'Authorization': "",