SSR and Pydantic issues
Browse filesDisable Gradio SSR. Pin Pydantic version
- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -649,4 +649,5 @@ if __name__ == '__main__':
|
|
| 649 |
(os.getenv("APP_PUBLIC_USERNAME"), os.getenv("APP_PUBLIC_PASSWORD")),
|
| 650 |
],
|
| 651 |
auth_message="Login to Candid's letter of intent demo",
|
|
|
|
| 652 |
)
|
|
|
|
| 649 |
(os.getenv("APP_PUBLIC_USERNAME"), os.getenv("APP_PUBLIC_PASSWORD")),
|
| 650 |
],
|
| 651 |
auth_message="Login to Candid's letter of intent demo",
|
| 652 |
+
ssr_mode=False
|
| 653 |
)
|
requirements.txt
CHANGED
|
@@ -2,6 +2,6 @@ backoff
|
|
| 2 |
fpdf2
|
| 3 |
gradio
|
| 4 |
langchain
|
| 5 |
-
pydantic
|
| 6 |
python-docx
|
| 7 |
requests
|
|
|
|
| 2 |
fpdf2
|
| 3 |
gradio
|
| 4 |
langchain
|
| 5 |
+
pydantic==2.10.6
|
| 6 |
python-docx
|
| 7 |
requests
|