Spaces:
Build error
Build error
Commit ·
c260a8f
1
Parent(s): ae5c715
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def answer_question(question):
|
|
| 35 |
text = text.strip()
|
| 36 |
return text
|
| 37 |
|
| 38 |
-
db = SQLDatabase.from_uri("mssql+pyodbc:///?odbc_connect=Driver={ODBC Driver
|
| 39 |
toolkit = SQLDatabaseToolkit(db=db)
|
| 40 |
|
| 41 |
|
|
|
|
| 35 |
text = text.strip()
|
| 36 |
return text
|
| 37 |
|
| 38 |
+
db = SQLDatabase.from_uri("mssql+pyodbc:///?odbc_connect=Driver={ODBC Driver 18 for SQL Server};Server=tcp:tesserversean.database.windows.net,1433;Database=testdb-sean;Uid=sean;Pwd=abc123456!;Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30;")
|
| 39 |
toolkit = SQLDatabaseToolkit(db=db)
|
| 40 |
|
| 41 |
|