You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that the python script will send us the label of the leaf disease. According to that, we will send the JSON as output, it is a part of file_upload post route API. Make a separate data.js file and write all diseases JSON there. Refer this screenshot for details.
Here, op is the output JSON object. You can rename it to output.
The text was updated successfully, but these errors were encountered:
Sure. Its a very monotonous work, you have copy from text files and write it in JSON format, you might get bored. So, I would strongly recommend listening to some music while doing this 😆
Also, I assume, since you have worked on file_upload POST route and what it returns, you can modify that to return the required JSON based on the output(predicted) label category.
Sure. Its a very monotonous work, you have copy from text files and write it in JSON format, you might get bored. So, I would strongly recommend listening to some music while doing this 😆
Also, I assume, since you have worked on file_upload POST route and what it returns, you can modify that to return the required JSON based on the output(predicted) label category.
The reason is that the python script will send us the label of the leaf disease. According to that, we will send the JSON as output, it is a part of file_upload post route API. Make a separate data.js file and write all diseases JSON there. Refer this screenshot for details.
Here, op is the output JSON object. You can rename it to output.
The text was updated successfully, but these errors were encountered: