Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,7 @@ def check_nsfw(json_data, profile):
|
|
37 |
return True
|
38 |
|
39 |
def get_prompts_from_image(image_id):
|
|
|
40 |
url = f'https://civitai.com/images/{image_id}'
|
41 |
response = requests.get(url)
|
42 |
soup = BeautifulSoup(response.text, 'html.parser')
|
|
|
37 |
return True
|
38 |
|
39 |
def get_prompts_from_image(image_id):
|
40 |
+
print("image_id: ", image_id)
|
41 |
url = f'https://civitai.com/images/{image_id}'
|
42 |
response = requests.get(url)
|
43 |
soup = BeautifulSoup(response.text, 'html.parser')
|