multimodalart HF staff commited on
Commit
0153b09
1 Parent(s): a541bac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def check_nsfw(json_data, profile):
37
  return True
38
 
39
  def get_prompts_from_image(image_id):
40
- url = 'https://civitai.com/images/9476412'
41
  response = requests.get(url)
42
  soup = BeautifulSoup(response.text, 'html.parser')
43
  content = soup.find_all(class_='mantine-Code-root mantine-Code-block mantine-2v44jn')
 
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')
43
  content = soup.find_all(class_='mantine-Code-root mantine-Code-block mantine-2v44jn')