Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def get_latex_from_image_all_formats(image):
|
|
31 |
}
|
32 |
|
33 |
# Mathpix API ์์ฒญ ๋ณด๋ด๊ธฐ
|
34 |
-
response = requests.post(
|
35 |
response.raise_for_status() # ์์ฒญ ์คํจ ์ ์์ธ ๋ฐ์
|
36 |
|
37 |
# ์๋ต์์ ๊ฐ ํฌ๋งท์ LaTeX ์ถ์ถ
|
|
|
31 |
}
|
32 |
|
33 |
# Mathpix API ์์ฒญ ๋ณด๋ด๊ธฐ
|
34 |
+
response = requests.post(app_url, headers=headers, json=data)
|
35 |
response.raise_for_status() # ์์ฒญ ์คํจ ์ ์์ธ ๋ฐ์
|
36 |
|
37 |
# ์๋ต์์ ๊ฐ ํฌ๋งท์ LaTeX ์ถ์ถ
|