Skip to content

Commit

Permalink
Notebook updated
Browse files Browse the repository at this point in the history
  • Loading branch information
demenskyi committed Jan 18, 2024
1 parent 5b4fa28 commit eaa362f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions notebooks/real-time-recommendation-engine/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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)"
]
},
Expand Down

0 comments on commit eaa362f

Please sign in to comment.