multimodalart HF staff commited on
Commit
711594a
1 Parent(s): b9ca2c3

Update app.py

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