Skip to content

Commit 9561c14

Browse files
committed
db credentials
1 parent b93f084 commit 9561c14

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

upload/capturenew.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,8 @@ def generate_summary():
8282
print("Summarize Text: \n", summary)
8383

8484
# Connect to MySQL database
85-
mydb = mysql.connector.connect(
86-
host="localhost",
87-
user="xunidb",
88-
password="xunistudygo",
89-
database="xunidb",
90-
charset="utf8"
91-
)
85+
86+
# Use your own db credentials
9287

9388
mycursor = mydb.cursor()
9489

0 commit comments

Comments
 (0)