I have trained a CNN model in Google Colab for facial expression detection with the FER2013 dataset containing 7 emotion classes (‘Angry’, ‘Disgust’, ‘Fear’, ‘Happy’, ‘Sad’, ‘Surprise’, ‘Neutral’). Used flask framework to build a web application. OpenCV’s haarcascade_frontalface_default.xml is used to detect faces. With this I’m able to do real-time live streaming of the video using my laptop’s webcam and
Tag: web-applications
Inheriting name of category in Flask
I am working on budget app in Flask. Homepage give you ability to create names of Budgets and then names are transformed to links href which transfer you to another page with budget details. I want heading from /add_budget page to be inherit from budget name defined by user and it works fine until I add second budget – in
Ηow to select a dataframe index via a dropdown menu in Flask?
Context and what I want to do : Hi, here is an example with the iris dataset. I have imported my machine learning model, and my web-app idea is : that instead of entering floating values of features in fields myself to run an iris class estimation, I want to use instead the index of the dataframe in a dropdown
Removing the selected items from streamlet’s multiselect
I am trying to delete objects from a list by choosing them via streamlits multiselect widget, having the list entries as entries of the widget. Thus, the list also decides what options are in the multiselect box. However, after the app reruns—once I deleted some options—I get the error: streamlit.errors.StreamlitAPIException: Every Multiselect default value must exist in options Here is
No module named app , While running Flask app
I’m new to using flask, I tried to execute a basic flask app in Visual-Studio-code . but I’m getting, No Module named app My code is: path : The output terminal: Answer The path of app.py was inside the virtual environment , thus it is not working. Moving it out of that folder woks.
Flask Azure web app deployed successfully but showing default page
I deployed a python flask app with azure web service using local git. The status in the deployment center shows “success” but when i go to the web page, it is still the default page that tells me I’m running python 3.6.6. When i navigate to the kudu git clone uri it says ” no route registered for ‘/testapp1.git’ The
Trouble running a Python script through VB
The objective is to receive an image path and pass that to a Python program as an argument, then receive the results. This is done through a web app using VB (on the IIS server) and it works perfectly except when I import the python module OpenCV (imported in Python as cv2, more specifically). What’s even more confusing is that
Great flask / other python micro framework code I could learn from [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 1 year ago. Improve this question I’d like to look at some good web-app code written in