MCPcopy
hub / github.com/docker/genai-stack / get_pages

Function get_pages

loader.py:106–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105
106def get_pages():
107 col1, col2 = st.columns(2)
108 with col1:
109 num_pages = st.number_input(
110 "Number of pages (100 questions per page)", step=1, min_value=1
111 )
112 with col2:
113 start_page = st.number_input("Start page", step=1, min_value=1)
114 st.caption("Only questions with answers will be imported.")
115 return (int(num_pages), int(start_page))
116
117
118def render_page():

Callers 1

render_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected