Dynamic Web App Python (100$)
Budget: $30 – $250 AUD
I need a python function that takes JSON input similar to the attached file "sample.JSON" and gives output as a web APP with the design in the "wireframe.png" file attached and using the logo and the colour theme in "sample_HTML.zip".
This means that we will use the fields and the values stated in the "sample.JSON" to build the webapp.
in sample.json, you will find the key "field_types" that states all the field names as subkeys, and the field types as the values for the subkeys. you will also find the key "field_values" stating all the field names as subkeys, and the field acceptable inputs as the values for these subkeys.
when the user clicks predict, it imports the file in the key "pipeline_file_path" and call the function "predictTarget" and pass the values selected in the form as a dict to the function . Then get the output of the function "predcitTarget" and render the output value on the right side. every time the user clicks the button "predict", the app reads the inputs from the webform controls, call the function and render the output.
The output should be displayed as a stack of values, and each line should have [x] icon for deleting this value, and [+] to show the details of the form used in the form.
quick test cases:
1. if the user clicks predict twice without changing the data, the app should give him a message
2. if the user clicks predict without filling all the fields, the app should give him a message "you did not enter values to field1, field2 and field3. Do you want to predict without setting a value for them", if the user select yes, proceed forward and pass zero as the value selected. if the user chose "no", take him back to the form to fill the control fields
The deliverable: python code that generates the web app. The web app, should be executable on desktop. I mean once I click on the app it will open the browser and call the hosted app form the local web server
This means that we will use the fields and the values stated in the "sample.JSON" to build the webapp.
in sample.json, you will find the key "field_types" that states all the field names as subkeys, and the field types as the values for the subkeys. you will also find the key "field_values" stating all the field names as subkeys, and the field acceptable inputs as the values for these subkeys.
when the user clicks predict, it imports the file in the key "pipeline_file_path" and call the function "predictTarget" and pass the values selected in the form as a dict to the function . Then get the output of the function "predcitTarget" and render the output value on the right side. every time the user clicks the button "predict", the app reads the inputs from the webform controls, call the function and render the output.
The output should be displayed as a stack of values, and each line should have [x] icon for deleting this value, and [+] to show the details of the form used in the form.
quick test cases:
1. if the user clicks predict twice without changing the data, the app should give him a message
2. if the user clicks predict without filling all the fields, the app should give him a message "you did not enter values to field1, field2 and field3. Do you want to predict without setting a value for them", if the user select yes, proceed forward and pass zero as the value selected. if the user chose "no", take him back to the form to fill the control fields
The deliverable: python code that generates the web app. The web app, should be executable on desktop. I mean once I click on the app it will open the browser and call the hosted app form the local web server