Spaces:
Sleeping
Sleeping
reanme library into core
Browse files- app.py +2 -2
- library.py → core.py +0 -0
- interactivity.py +2 -2
app.py
CHANGED
|
@@ -16,8 +16,8 @@ if __name__ == "__main__":
|
|
| 16 |
markdown_description += r'More info on [Interactive Pipe Website](https://balthazarneveu.github.io/interactive_pipe/)'+ '\n'
|
| 17 |
markdown_description += "# Source code for this tutorial \n"
|
| 18 |
markdown_description += "## Processing blocks & pipeline (~ production code, no interactivity) \n"
|
| 19 |
-
markdown_description += "`
|
| 20 |
-
markdown_description += "```python\n"+open("
|
| 21 |
markdown_description += "## Add interactivity\n"
|
| 22 |
markdown_description += "`app.py`\n"
|
| 23 |
markdown_description += "```python\n"+open("interactivity.py", 'r').read()+"```\n"
|
|
|
|
| 16 |
markdown_description += r'More info on [Interactive Pipe Website](https://balthazarneveu.github.io/interactive_pipe/)'+ '\n'
|
| 17 |
markdown_description += "# Source code for this tutorial \n"
|
| 18 |
markdown_description += "## Processing blocks & pipeline (~ production code, no interactivity) \n"
|
| 19 |
+
markdown_description += "`core.py`\n"
|
| 20 |
+
markdown_description += "```python\n"+open("core.py", 'r').read()+"```\n"
|
| 21 |
markdown_description += "## Add interactivity\n"
|
| 22 |
markdown_description += "`app.py`\n"
|
| 23 |
markdown_description += "```python\n"+open("interactivity.py", 'r').read()+"```\n"
|
library.py → core.py
RENAMED
|
File without changes
|
interactivity.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
from interactive_pipe import interactive_pipeline, interactive
|
| 2 |
-
from
|
| 3 |
-
|
| 4 |
import argparse
|
| 5 |
# --------------------------------------------------------------
|
| 6 |
|
|
|
|
| 1 |
from interactive_pipe import interactive_pipeline, interactive
|
| 2 |
+
from core import (gen_color, modify_geometry, change_color,
|
| 3 |
+
compare_by_splitting, tutorial_pipeline)
|
| 4 |
import argparse
|
| 5 |
# --------------------------------------------------------------
|
| 6 |
|