Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ def upload_file(filepath):
|
|
143 |
clean_html_output = html_content.replace("```html", '').replace("```", '').strip()
|
144 |
|
145 |
# Debugging print to check the HTML content
|
146 |
-
print("HTML content:", clean_html_output)
|
147 |
|
148 |
# Prepare an iframe to embed the HTML content
|
149 |
iframe_html = f"<iframe srcdoc='{clean_html_output}' style='width:100%; height:600px; border:none;overflow-y:scroll;'></iframe>"
|
|
|
143 |
clean_html_output = html_content.replace("```html", '').replace("```", '').strip()
|
144 |
|
145 |
# Debugging print to check the HTML content
|
146 |
+
# print("HTML content:", clean_html_output)
|
147 |
|
148 |
# Prepare an iframe to embed the HTML content
|
149 |
iframe_html = f"<iframe srcdoc='{clean_html_output}' style='width:100%; height:600px; border:none;overflow-y:scroll;'></iframe>"
|