All Questions
Tagged with flask javascript
4,121
questions
0
votes
0
answers
12
views
How to implement real-time responses in a Flask-based chatbot with OpenAI Assistants API?
I have a basic chatbot that currently waits for the backend to fully process and generate a response before displaying it to the user. During this wait, the user sees a "Typing..." message. ...
-6
votes
0
answers
34
views
Sending Lists values in a post request from HTML/JS to bckend(python) [closed]
English is not my first language , so escuse my grammer mistakes :)
its my first time workung with JS , i will start by showing the tables in the database and then explain the problem so hopefully any ...
0
votes
1
answer
42
views
Unable to type texts to chatbot user input
Description
I am trying to add a chatbot for the backtesting platform built with Flask and there is a button on the right side that toggles the sidebar. If the user clicks the button, it shows the ...
0
votes
0
answers
19
views
Link device's gyroscopic orientation with that of 3d model on web
I am trying to build a model rocket that uses an old phone for reading gyroscopic data using a webapp (Flask and flask-socketIO). the "rocket phone" goes to /rocket and sends gyroscope data ...
0
votes
0
answers
24
views
Restrict file select input to a single directory
Let me just start by saying, I know that there is a question like this already here. I know that, but the previous one has no answers and I have a very specific problem. And I am all ears for ...
0
votes
0
answers
21
views
Socket keeps connecting and disconnecting in Flask socket.io
I am using Flask-socket.io. It works on local perfectly without any warning and error, but it keeps connecting and disconnecting in server. so first time it is not getting notification cause ...
0
votes
1
answer
34
views
Search box not integrated with dropdown in JavaScript and HTML
I am new to JS and HTML and am trying to create a webpage in Flask with a dropdown containing a search box that filters the options.
My code looks as such:
<div class="dropdown">
<...
1
vote
0
answers
35
views
The tables are getting printed on console but not on the screen
I have created a machine learning model and am working on a React application with a Flask backend. I am passing the API data from the backend to the frontend. Although there are no errors, the tables ...
0
votes
0
answers
33
views
I wish to first submit a post request and move to different page in flask
Requirement:
There is form in my html page where we can upload files and post them. After posting the files I wish to save it in the backend and then proceed to the next page of my application in a ...
0
votes
0
answers
42
views
How do I get the user's webcam and process it on the server deployed webapp?
So I'm currently rebuilding my facial recognition app in flask and one thing that has stumped me is how to implement the function in the title into my program once I deploy it.
I've heard that cap = ...
0
votes
0
answers
23
views
session management error ( Not able to logout)
I am not able to logout. everytime when i click on logout it gives me methond not allowed error with code 405.
Backend.py This is my backend file
from flask import Flask, request, jsonify, session, ...
0
votes
1
answer
23
views
How to add and remove sessions from jinja template? or eventually how to make a cart functionality?
Is there any way to manage (add and remove) sessions from Jinja template without interacting with any kind of API or page reload?
Im making a cart function for a store website, and I wanted to store ...
0
votes
0
answers
22
views
Python Flask after form is validated execute javascript or rerender a page
In my project I have route which after submitting the form takes about 10 sec to generate results and then redirect to another route. I would like in meanwhile when this operations take place somehow ...
0
votes
1
answer
33
views
400 Bad Request when handling file inputs within Flask, JS, and HTML Script
I am creating a Flask Python Application that will use JS along with HTML, to create a form that allows the user to input a file. During my testing I am receiving a 400 Bad Request within the 'POST' ...
-1
votes
1
answer
42
views
String with html <span> formatting not working with Javascript code
I have a flask app which I query for some database values. These values I want to format as strings with some additional text. Also I want to format these with some html <span class="">...