frontend.utils
This module contains utility modules for the app.
frontend.utils.ui
This module defines the User Interface of the app.
In this project, we use Streamlit.
But if you want to use any other framework, you need to implement the functions defined here.
- frontend.utils.ui.click(field: str) bool [source]
Defines a button for the given field and returns if the button was clicked or not.
- frontend.utils.ui.get_text_input(field: str) str [source]
Takes in information, as required by field, from the user as text input, and returns it.
Returns the selected option in the menu.