sushku commited on
Commit
e6f998d
·
verified ·
1 Parent(s): 3d94315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -15,15 +15,6 @@ app.add_middleware(
15
  allow_headers=["*"],
16
  )
17
 
18
-
19
- app.add_middleware(
20
- CORSMiddleware,
21
- allow_origins=["*"],
22
- allow_credentials=True,
23
- allow_methods=["*"],
24
- allow_headers=["*"],
25
- )
26
-
27
  # Define the request model that expects a JSON body with "text"
28
  class MeaningRequest(BaseModel):
29
  text: str
 
15
  allow_headers=["*"],
16
  )
17
 
 
 
 
 
 
 
 
 
 
18
  # Define the request model that expects a JSON body with "text"
19
  class MeaningRequest(BaseModel):
20
  text: str