Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Python Deep Learning for the Web

You're reading from   Hands-On Python Deep Learning for the Web Integrating neural network architectures to build smart web apps with Flask, Django, and TensorFlow

Arrow left icon
Product type Paperback
Published in May 2020
Publisher Packt
ISBN-13 9781789956085
Length 404 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sayak Paul Sayak Paul
Author Profile Icon Sayak Paul
Sayak Paul
Anubhav Singh Anubhav Singh
Author Profile Icon Anubhav Singh
Anubhav Singh
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface Artificial Intelligence on the Web
Demystifying Artificial Intelligence and Fundamentals of Machine Learning FREE CHAPTER Using Deep Learning for Web Development
Getting Started with Deep Learning Using Python Creating Your First Deep Learning Web Application Getting Started with TensorFlow.js Getting Started with Different Deep Learning APIs for Web Development
Deep Learning through APIs Deep Learning on Google Cloud Platform Using Python DL on AWS Using Python: Object Detection and Home Automation Deep Learning on Microsoft Azure Using Python Deep Learning in Production (Intelligent Web Apps)
A General Production Framework for Deep Learning-Enabled Websites Securing Web Apps with Deep Learning DIY - A Web DL Production Environment Creating an E2E Web App Using DL APIs and Customer Support Chatbot Other Books You May Enjoy Appendix: Success Stories and Emerging Areas in Deep Learning on the Web

Building an interface

To build an interface for the web application, we need to think about how we would want our users to interact with the system. In our case, we are expecting the user to be presented with suggestions based on what they search for in a search bar the moment they submit the search query. This means we need the system to respond in real time and generate suggestions on the fly. To build this system, we will create an API that will respond to the search query.

Creating an API to answer search queries

We will create an API that accepts queries in the form of HTTP requests and replies with suggestions of products based on the search query entered by the user. To do so, follow these steps:

  1. We will begin by importing...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime