multimodalart HF staff commited on
Commit
43f6059
·
verified ·
1 Parent(s): 30a8f33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -41,6 +41,7 @@ def get_prompts_from_image(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')
 
44
  if(content):
45
  if(len(content) > 1):
46
  return content[0].text, content[1].text
 
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')
44
+ print(content)
45
  if(content):
46
  if(len(content) > 1):
47
  return content[0].text, content[1].text