From eaa362f0d333914dd16ef2d3ec239117b6ebaba6 Mon Sep 17 00:00:00 2001 From: Yaroslav Demenskyi Date: Thu, 18 Jan 2024 15:45:05 -0800 Subject: [PATCH] Notebook updated --- notebooks/real-time-recommendation-engine/notebook.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notebooks/real-time-recommendation-engine/notebook.ipynb b/notebooks/real-time-recommendation-engine/notebook.ipynb index 83c592e..fa378d4 100644 --- a/notebooks/real-time-recommendation-engine/notebook.ipynb +++ b/notebooks/real-time-recommendation-engine/notebook.ipynb @@ -335,7 +335,6 @@ " create_models_table()\n", " create_model_readmes_table()\n", " create_model_twitter_posts_table()\n", - " create_model_reddit_posts_table()\n", " create_model_github_repos_table()\n", "\n", "\n", @@ -733,7 +732,7 @@ " VALUES (%s, %s, %s, %s, %s, %s, FROM_UNIXTIME(%s), JSON_ARRAY_PACK(%s))\n", " ''', chunk)\n", " except Exception as e:\n", - " print('Error github_insert_model_repos: ', e\n", + " print('Error github_insert_model_repos: ', e)\n", "\n", "\n", "def github_process_models_repos(existed_models):\n", @@ -880,7 +879,6 @@ "leaderboard_process_models()\n", "existed_models = get_models('repo_id, name', f'ORDER BY score DESC LIMIT {MODELS_LIMIT}')\n", "twitter_process_models_posts(existed_models)\n", - "reddit_process_models_posts(existed_models)\n", "github_process_models_repos(existed_models)" ] },