Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def get_latex_from_image_all_formats(image):
|
|
26 |
}
|
27 |
|
28 |
# Mathpix API ์์ฒญ ๋ณด๋ด๊ธฐ
|
29 |
-
response = requests.post("https://api.mathpix.com/v3/
|
30 |
response.raise_for_status() # ์์ฒญ ์คํจ ์ ์์ธ ๋ฐ์
|
31 |
|
32 |
# ์๋ต์์ ๊ฐ ํฌ๋งท์ LaTeX ์ถ์ถ
|
|
|
26 |
}
|
27 |
|
28 |
# Mathpix API ์์ฒญ ๋ณด๋ด๊ธฐ
|
29 |
+
response = requests.post("https://api.mathpix.com/v3/text", headers=headers, json=data)
|
30 |
response.raise_for_status() # ์์ฒญ ์คํจ ์ ์์ธ ๋ฐ์
|
31 |
|
32 |
# ์๋ต์์ ๊ฐ ํฌ๋งท์ LaTeX ์ถ์ถ
|