Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,21 +3,6 @@ from graphviz import Digraph
|
|
3 |
|
4 |
st.markdown("""
|
5 |
|
6 |
-
# π Copy and Modify this space: https://huggingface.co/spaces/awacke1/AIZTH-03-09-2023
|
7 |
-
1. Open two browser windows side by side
|
8 |
-
2. Space, New Space on Right side.
|
9 |
-
3. On Left side, Browse files, Download, Upload
|
10 |
-
4. Share URL to the crowd.
|
11 |
-
5. See if you can do in 60 seconds or less with practice
|
12 |
-
6. Identify what to change: Model name, Examples, Readme.
|
13 |
-
7. Like and Comment for Community Feedback.
|
14 |
-
|
15 |
-
|
16 |
-
# π Org Join:
|
17 |
-
1. Org: https://huggingface.co/CognitiveAIForHealth
|
18 |
-
2. Join Link: https://huggingface.co/organizations/CognitiveAIForHealth/share/LUIgWlwxqHYTeKWwVGOCaADIJNDBdtOfER
|
19 |
-
3. Observe - Verify if you show up in Team list.
|
20 |
-
|
21 |
# π Multiply your productivity by 100 times today using AI:
|
22 |
|
23 |
π Lets prove it with HuggingFace, Gradio, Streamlit, ChatGPT,and HTML/Javascript
|
@@ -28,43 +13,56 @@ My Progression:
|
|
28 |
|
29 |
# π Conclusion: Over 100x with this simple recipe.
|
30 |
|
31 |
-
|
|
|
32 |
|
33 |
When focused using AI to write outline, simplify outline, generate examples, debug and curate:
|
34 |
1. **Record:** 30 working programs in 2 days on planned subject outline. (15/day)
|
35 |
2. Synopsis: Learning in the Loop - AI Pair programming expands your knowledge.
|
36 |
3. Use **Targeted AI vocabulary keywords** to generate domain specific code and text mashups.
|
37 |
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
-
|
41 |
|
42 |
-
**Markdown**
|
43 |
1. **Prompt:** Create a markdown cheat sheet that lists all the commands and short instructions for performing markdown code.
|
44 |
2. **Trouble** with code versus non code due to delimiters like triple apostrophe? Its using markdown.
|
45 |
3. **Prompt:** Show full code listing in markdown code with no comments
|
46 |
|
47 |
-
**Mermaid**
|
48 |
-
Organized, Sorted Graphs.
|
49 |
-
π https://huggingface.co/spaces/awacke1/MermaidModelHTML5Demo
|
50 |
1. **Python Streamlit** and Python gradio with code example input.
|
51 |
2. **Progressions** iterate with prompts to get what you want in a few steps..
|
52 |
3. **Prompt and Experiment:** Write an AI program using python, streamlit sklearn and keras to produce an AI program predicting sepal length.
|
53 |
4. **Curate and Revise:** Show full code listing. remove commentary. Make code listing as short as possible with few lines of code
|
54 |
5. **Reinforce and Teach:** Test and Share with HF to debug and test. Demonstrate and share links to others.
|
55 |
-
|
56 |
-
# **Why does this work?**
|
57 |
-
Copy and Modify Pattern, Mirroring, and the Human Brain.
|
58 |
|
59 |
-
# Cost of not innovating:
|
60 |
-
1. **Life Lessons** from Steel Manufacturing - Innovation, Productivity
|
61 |
-
2. **US Steel** - Cost of not changing and 5%
|
62 |
-
3. **Tata Steel** - Employment, Karma, and Legends
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
# π HF Token - Create a new token in Settings for this code:
|
66 |
|
67 |
-
Copy and Modify this Gradio AI Pipeline, Then Code Review:
|
68 |
https://huggingface.co/spaces/awacke1/Sentence2Paragraph
|
69 |
|
70 |
1. HF_TOKEN = os.environ.get("HF_TOKEN") # get token from secrets, copy token value HF_TOKEN from Profile settings token into this repo settings
|
|
|
3 |
|
4 |
st.markdown("""
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
# π Multiply your productivity by 100 times today using AI:
|
7 |
|
8 |
π Lets prove it with HuggingFace, Gradio, Streamlit, ChatGPT,and HTML/Javascript
|
|
|
13 |
|
14 |
# π Conclusion: Over 100x with this simple recipe.
|
15 |
|
16 |
+
|
17 |
+
# π AI Pair Programming Process and Method:
|
18 |
|
19 |
When focused using AI to write outline, simplify outline, generate examples, debug and curate:
|
20 |
1. **Record:** 30 working programs in 2 days on planned subject outline. (15/day)
|
21 |
2. Synopsis: Learning in the Loop - AI Pair programming expands your knowledge.
|
22 |
3. Use **Targeted AI vocabulary keywords** to generate domain specific code and text mashups.
|
23 |
|
24 |
+
# **Why does this work?**
|
25 |
+
Copy and Modify Pattern, Mirroring, and the Human Brain.
|
26 |
+
|
27 |
+
# Cost of not innovating:
|
28 |
+
1. **Life Lessons** from Steel Manufacturing - Innovation, Productivity
|
29 |
+
2. **US Steel** - Cost of not changing and 5%
|
30 |
+
3. **Tata Steel** - Employment, Karma, and Legends
|
31 |
+
|
32 |
+
# π Prompt using domain technical knowledge to accelerate process of design and development.
|
33 |
|
34 |
+
Quick and Easy prompting patterns:
|
35 |
|
36 |
+
# **Markdown**
|
37 |
1. **Prompt:** Create a markdown cheat sheet that lists all the commands and short instructions for performing markdown code.
|
38 |
2. **Trouble** with code versus non code due to delimiters like triple apostrophe? Its using markdown.
|
39 |
3. **Prompt:** Show full code listing in markdown code with no comments
|
40 |
|
41 |
+
# **Mermaid** Organized, Sorted Graphs. - π https://huggingface.co/spaces/awacke1/MermaidModelHTML5Demo
|
|
|
|
|
42 |
1. **Python Streamlit** and Python gradio with code example input.
|
43 |
2. **Progressions** iterate with prompts to get what you want in a few steps..
|
44 |
3. **Prompt and Experiment:** Write an AI program using python, streamlit sklearn and keras to produce an AI program predicting sepal length.
|
45 |
4. **Curate and Revise:** Show full code listing. remove commentary. Make code listing as short as possible with few lines of code
|
46 |
5. **Reinforce and Teach:** Test and Share with HF to debug and test. Demonstrate and share links to others.
|
|
|
|
|
|
|
47 |
|
|
|
|
|
|
|
|
|
48 |
|
49 |
+
# π Copy and Modify this space: https://huggingface.co/spaces/awacke1/AIZTH-03-09-2023
|
50 |
+
1. Open two browser windows side by side
|
51 |
+
2. Space, New Space on Right side.
|
52 |
+
3. On Left side, Browse files, Download, Upload
|
53 |
+
4. Share URL to the crowd.
|
54 |
+
5. See if you can do in 60 seconds or less with practice
|
55 |
+
6. Identify what to change: Model name, Examples, Readme.
|
56 |
+
7. Like and Comment for Community Feedback.
|
57 |
+
|
58 |
+
|
59 |
+
# π Org Join: https://huggingface.co/CognitiveAIForHealth
|
60 |
+
1. Join Link: https://huggingface.co/organizations/CognitiveAIForHealth/share/LUIgWlwxqHYTeKWwVGOCaADIJNDBdtOfER
|
61 |
+
2. Observe - Verify you show up in Team list.
|
62 |
|
63 |
# π HF Token - Create a new token in Settings for this code:
|
64 |
|
65 |
+
Copy and Modify this Gradio AI Pipeline, Then Code Review and add HF_TOKEN:
|
66 |
https://huggingface.co/spaces/awacke1/Sentence2Paragraph
|
67 |
|
68 |
1. HF_TOKEN = os.environ.get("HF_TOKEN") # get token from secrets, copy token value HF_TOKEN from Profile settings token into this repo settings
|