Update main.py
Browse files
main.py
CHANGED
|
@@ -123,7 +123,7 @@ class HTMLInput(BaseModel):
|
|
| 123 |
# Define the path to the temporary folder
|
| 124 |
TEMP_FOLDER = "/app/temp"
|
| 125 |
|
| 126 |
-
@app.post("/
|
| 127 |
async def convert_html_to_docx(input_data: HTMLInput):
|
| 128 |
temp_filename = None
|
| 129 |
try:
|
|
|
|
| 123 |
# Define the path to the temporary folder
|
| 124 |
TEMP_FOLDER = "/app/temp"
|
| 125 |
|
| 126 |
+
@app.post("/html_to_docx")
|
| 127 |
async def convert_html_to_docx(input_data: HTMLInput):
|
| 128 |
temp_filename = None
|
| 129 |
try:
|