This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import modal | |
from typing import Dict, Any, Optional | |
from pydantic import BaseModel | |
import json | |
import os | |
import uuid | |
import base64 | |
import io | |
# Define the image - using sglang base image as recommended by mineru |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import modal | |
from typing import Dict, Any, Optional | |
from pydantic import BaseModel | |
import json | |
import os | |
import uuid | |
import base64 | |
import io | |
# Define the image - using sglang base image as recommended by mineru |