migrated the frontend file generation, changed folder structure

This commit is contained in:
2026-05-06 20:06:47 +03:00
parent 12a64e9f2f
commit 76fe1c4294
23 changed files with 908 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from pydantic import BaseModel
class ConvertRequest(BaseModel):
text: str
format: str # e.g. "mol", "smi", "sdf", "inchi", etc.
add_hydrogen: bool = False
convert_3d: bool = False
optimize_geometry: bool = False
class MolFileModel(BaseModel):
molfile: str
class BasicError(BaseModel):
error: str