Skip to content

feat: add open in colab #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 10, 2021
Merged

feat: add open in colab #160

merged 6 commits into from
Jun 10, 2021

Conversation

trsvchn
Copy link
Member

@trsvchn trsvchn commented Jun 10, 2021

Description

Fix #

This PR adds "Open in Colab" button button, code adjusted accordingly:

  • README -> first markdown cell
  • requirements.txt -> !pip install <package> <package>
  • config.yaml -> %%writefile config.yaml (to export config to colab filesystem)
  • main.py -> at the end (since on Colab __name__ == "__main__")

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Other

@netlify
Copy link

netlify bot commented Jun 10, 2021

✔️ Deploy Preview for code-generator ready!

🔨 Explore the source changes: e01a49b

🔍 Inspect the deploy log: https://app.netlify.com/sites/code-generator/deploys/60c2916b7367580007673602

😎 Browse the preview: https://deploy-preview-160--code-generator.netlify.app/

@vfdev-5 vfdev-5 mentioned this pull request Jun 10, 2021
23 tasks
@trsvchn trsvchn merged commit c5d4ad8 into main Jun 10, 2021
@trsvchn
Copy link
Member Author

trsvchn commented Jun 10, 2021

Well, It didn't help...

@trsvchn
Copy link
Member Author

trsvchn commented Jun 17, 2021

ENV var do not propagate to the app build. And I do not know why

@ydcjeff ydcjeff deleted the add-open-in-colab branch June 17, 2021 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant