From 2478615be2d7b402c31e35feb873c5f2f786f896 Mon Sep 17 00:00:00 2001 From: op07n <39182105+op07n@users.noreply.github.com> Date: Fri, 17 Jan 2020 11:46:56 +0100 Subject: [PATCH] Add files via upload --- mushroom_challenge.ipynb | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 mushroom_challenge.ipynb diff --git a/mushroom_challenge.ipynb b/mushroom_challenge.ipynb new file mode 100644 index 0000000..f2fbd8e --- /dev/null +++ b/mushroom_challenge.ipynb @@ -0,0 +1,65 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "import git\n", + "if not os.path.exists('./mushroom_challenge'):\n", + " git.Git(\".\").clone(\"https://github.com/SiewLinYap/mushroom_challenge.git\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "os.chdir('mushroom_challenge')" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "!streamlit run mushroom_app.py --server.enableCORS false --browser.gatherUsageStats false" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Copy Binder link and add /proxy/8501/" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}