YC-Chen commited on
Commit
dc8ccba
1 Parent(s): 5450cb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def insert_to_db(prompt, response, temperature, top_p):
60
  cursor = conn.cursor()
61
 
62
  # Preparing SQL queries to INSERT a record into the database.
63
- cursor.execute(f"INSERT INTO EMPLOYEE(prompt, response, temperature, top_p) VALUES ('{prompt}', '{response}', {temperature}, {top_p})")
64
 
65
  # Commit your changes in the database
66
  conn.commit()
 
60
  cursor = conn.cursor()
61
 
62
  # Preparing SQL queries to INSERT a record into the database.
63
+ cursor.execute(f"INSERT INTO breezedata(prompt, response, temperature, top_p) VALUES ('{prompt}', '{response}', {temperature}, {top_p})")
64
 
65
  # Commit your changes in the database
66
  conn.commit()