vermen commited on
Commit
0e43e78
·
verified ·
1 Parent(s): 06295a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def transform_to_pdf(tex_content):
74
  url = "https://www.latexonline.cc/compile"
75
 
76
  # Send LaTeX source for compilation
77
- response = requests.post(url, data={"text": latex_source, "target": "pdf"}, verify=False) # Disable SSL verification
78
 
79
  if response.status_code == 200:
80
  pdf_url = response.url # Get the PDF URL
 
74
  url = "https://www.latexonline.cc/compile"
75
 
76
  # Send LaTeX source for compilation
77
+ response = requests.post(url, data={"text": tex_content, "target": "pdf"}, verify=False) # Disable SSL verification
78
 
79
  if response.status_code == 200:
80
  pdf_url = response.url # Get the PDF URL