Describe the issue briefly
What to do after getting tags from clarifai? todos not found in views.py
How much time have you spent debugging this issue?
(Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
What is your hypothesis?
image_url = restaurants.image_uploader.upload(img_b64)
# Add call to clarifai api here. # Refer todo in qeats/restaurants/clarifai_tag_suggestions.py for instructions
At line 202
i can’t see any changes?
i have implemented all todos mentioned in qeats/restaurants/clarifai_tag_suggestions.py
what to do in views.py
Check the #first TODO.
As part of this module you are expected to complete the get_tags_suggestions() function
i have done this we do not need to do anything in views.py?? after completing this
- Use the Clarifai API to get a list of categories based on the review image submitted by users.
- Follow the instructions in
- Make the necessary changes in
views.pyto use methods you implemented in step 2 and send tag suggestions to the Android app.
as mentioned in 3rd point what i need to do in views.py
Add call to clarifai api here.
so we need to use the method created previously here ? but in which method of views.py