Ramesh-vani commited on
Commit
13f7129
·
verified ·
1 Parent(s): bad5f22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -576,7 +576,7 @@ async def handle_user_input(websocket,key, process, connected,process_ids):
576
  print("No <body> tag found in the HTML")
577
 
578
  # Inline CSS and JavaScript
579
- # soup = inline_resources(soup, url)
580
 
581
  response_data = {
582
  "type": "web-data",
@@ -969,7 +969,7 @@ async def exe(websocket,connected,key,process_ids):
969
  print("No <body> tag found in the HTML")
970
 
971
  # Inline CSS and JavaScript
972
- # soup = inline_resources(soup, url)
973
 
974
  response_data = {
975
  "type": "web-data",
 
576
  print("No <body> tag found in the HTML")
577
 
578
  # Inline CSS and JavaScript
579
+ soup = inline_resources(soup, url)
580
 
581
  response_data = {
582
  "type": "web-data",
 
969
  print("No <body> tag found in the HTML")
970
 
971
  # Inline CSS and JavaScript
972
+ soup = inline_resources(soup, url)
973
 
974
  response_data = {
975
  "type": "web-data",