Spaces:
Build error
Build error
Update app/update_database.py
Browse files- app/update_database.py +4 -1
app/update_database.py
CHANGED
@@ -113,4 +113,7 @@ def update_database():
|
|
113 |
else:
|
114 |
search_result.to_sql("patterns", if_exists="append", con=con, index=False)
|
115 |
except:
|
116 |
-
pass
|
|
|
|
|
|
|
|
113 |
else:
|
114 |
search_result.to_sql("patterns", if_exists="append", con=con, index=False)
|
115 |
except:
|
116 |
+
pass
|
117 |
+
|
118 |
+
if __name__ == "__main__":
|
119 |
+
update_database()
|