GithubHelp home page GithubHelp logo

run-colab's Introduction

Run-Colab

This is a simple Flask application that allows you to download and run a Google Colab notebook from a URL.

Requirements Flask gdown Usage

To run the application, you need to have Flask and gdown installed. You can install them using pip: pip install flask gdown python app.py

The application will be running on http://localhost:5000/ To download and run a Colab notebook, you need to make a GET request to the endpoint /run-colab and include the Google Drive ID of the Colab notebook in the URL. For example : http://localhost:5000/run-colab?colab_notebook_id=<your_ID_here>

The application will then download the notebook from the URL and save it as colab.ipynb in the current directory.

The endpoint returns a JSON object with a message key and value indicating that the notebook ran successfully.

Note You need to have the access to the Google Colab notebook in order to download it via the link.

Limitations This is a simple application intended for demonstration purposes only, it is not suitable for use in a production environment.

License This project is licensed under the MIT License.

Author This code was written by ChatGPT and is open to contributions.

Please feel free to use, modify, and distribute this code as you see fit. And don't hesitate to contact me if you have any questions or suggestions.

run-colab's People

Contributors

angeyobo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.