Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def insert_feedback(rating, comment):
|
|
86 |
cur.execute('INSERT INTO feedback (timestamp, rating, comment) VALUES (%s, %s, %s)',
|
87 |
(timestamp, int(rating), comment))
|
88 |
conn.commit()
|
89 |
-
|
90 |
return True
|
91 |
except Exception as e:
|
92 |
st.error(f"Error inserting feedback: {e}")
|
|
|
86 |
cur.execute('INSERT INTO feedback (timestamp, rating, comment) VALUES (%s, %s, %s)',
|
87 |
(timestamp, int(rating), comment))
|
88 |
conn.commit()
|
89 |
+
print('submitted')
|
90 |
return True
|
91 |
except Exception as e:
|
92 |
st.error(f"Error inserting feedback: {e}")
|