Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ class RequestModel(BaseModel):
|
|
7 |
text: str
|
8 |
|
9 |
# Initialize the FastAPI app
|
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
# Load the model pipeline once when the app starts
|
|
|
7 |
text: str
|
8 |
|
9 |
# Initialize the FastAPI app
|
10 |
+
|
11 |
app = FastAPI()
|
12 |
|
13 |
# Load the model pipeline once when the app starts
|