Spaces:
Running
Running
Commit
•
c64188e
1
Parent(s):
5155223
Update app.py
Browse files
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
|
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 = ""
|