Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,11 @@ import os
|
|
18 |
from datetime import datetime
|
19 |
import gspread
|
20 |
from oauth2client.service_account import ServiceAccountCredentials
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
os.system("pip install sentence-transformers")
|
23 |
os.system("pip install gspread oauth2client")
|
|
|
18 |
from datetime import datetime
|
19 |
import gspread
|
20 |
from oauth2client.service_account import ServiceAccountCredentials
|
21 |
+
from pydantic import BaseModel
|
22 |
+
|
23 |
+
class Config(BaseModel.Config):
|
24 |
+
arbitrary_types_allowed = True
|
25 |
+
|
26 |
|
27 |
os.system("pip install sentence-transformers")
|
28 |
os.system("pip install gspread oauth2client")
|