multimodalart HF staff commited on
Commit
c64188e
1 Parent(s): 5155223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def check_nsfw(json_data, profile):
35
  return False
36
  return True
37
 
38
- def get_prompts_from_image(image_id, username):
39
  url = f'https://civitai.com/api/trpc/image.getGenerationData?input={{"json":{{"id":{image_id}}}}}'
40
  response = requests.get(url)
41
  prompt = ""
 
35
  return False
36
  return True
37
 
38
+ def get_prompts_from_image(image_id):
39
  url = f'https://civitai.com/api/trpc/image.getGenerationData?input={{"json":{{"id":{image_id}}}}}'
40
  response = requests.get(url)
41
  prompt = ""