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

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 = f"{\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 = "{\n \"text\": \"" + text + ""\"\n}"
68
 
69
  headers = {
70
  'Authorization': "",