Spaces:
Runtime error
Runtime error
Commit
·
45f1e0e
1
Parent(s):
7158136
added template
Browse files- 0_Introduction.py +2 -2
0_Introduction.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
-
from utils.levels import complete_level, initialize_level, render_page
|
| 4 |
|
| 5 |
initialize_level()
|
| 6 |
|
|
@@ -15,7 +15,7 @@ def intro_page():
|
|
| 15 |
You can use this template to create your own tutorial by completing the tasks in each level and adding your own content. You can also use
|
| 16 |
this template to learn how to use AI Eye by completing the tasks in each level.""")
|
| 17 |
|
| 18 |
-
st.info(f"Current Level: {
|
| 19 |
|
| 20 |
if st.button("Complete"):
|
| 21 |
complete_level(LEVEL)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
+
from utils.levels import complete_level, initialize_level, render_page, get_level
|
| 4 |
|
| 5 |
initialize_level()
|
| 6 |
|
|
|
|
| 15 |
You can use this template to create your own tutorial by completing the tasks in each level and adding your own content. You can also use
|
| 16 |
this template to learn how to use AI Eye by completing the tasks in each level.""")
|
| 17 |
|
| 18 |
+
st.info(f"Current Level: {get_level()}")
|
| 19 |
|
| 20 |
if st.button("Complete"):
|
| 21 |
complete_level(LEVEL)
|