Skip to main content

All Questions

Tagged with
0 votes
1 answer
96 views

How to Load an Image onto a Canvas in Gradio with Custom HTML and JavaScript?

I am willing to make a bounding box editor implementation in gradio by creating html and js by myself (where user can move bboxes, scale and draw new ones). But i can't find a way to load an image to ...
sleshworld's user avatar
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 ...
R.S4697's user avatar
1 vote
1 answer
93 views

PyScript <script type="py-editor"> Error Unable to use SharedArrayBuffer due insecure environment

I'm using PyScript to run a simple Python script in my HTML file to display a pandas DataFrame. However, after loading the page in browser and clicking the run button of the code block I'm ...
Leonard Alphonso's user avatar
0 votes
0 answers
45 views

Protecting publicly accessable endpoints in Django and React

I have an endpoint urls.py from django.urls import path from . import views app_name = 'Main' urlpatterns = [ path("helloKitty/", views.helloKitty, name='helloKitty'), ] views.py def ...
x945's user avatar
  • 33
0 votes
0 answers
43 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 = ...
saineid's user avatar
0 votes
0 answers
92 views

Streamlit Button Open Popup window of new link

I would like to open a popup window of another streamlit app. import streamlit as st from streamlit.components.v1 import html def open_page(url): open_script= """ <...
Jason's user avatar
  • 1
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, ...
Jagbir singh's user avatar
0 votes
1 answer
67 views

Using Python with Selenium and BeautifulSoup4 how can i get data after Javascript has loaded all elements on the page?

I'm trying to scrape data from a sandbox website just to practice and start using python to scrape web data. I have managed to extract a lot of data using the basics however I have found an element ...
mattie malling's user avatar
-1 votes
0 answers
17 views

Converting a Geotif image from GEE to finished file format (Jpeg) for projects

I am unable to get to use the results from GEE as a jpeg in my project Hello senior experts of GEE, I am an upcoming in GEE and I performed a morphotectonic analysis on GEE and exported the results ...
Napoleon Njeng's user avatar
0 votes
1 answer
20 views

Cannot resolve errors with Jira API v2

my frameworks: python backend fastapi javascript frontend next.js using this fetch: const response = await fetch("UrlToPythonBackend", { method: "POST", ...
TonyShark007's user avatar
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 ...
Orzelek's user avatar
  • 11
0 votes
0 answers
30 views

Trouble verifying Google token in Flask application

I'm developing a web application using Flask for the backend and React for the frontend, integrating Google Sign-In using OAuth2. I have a /verify-google-token endpoint in Flask to handle POST ...
Liam O'Brien's user avatar
0 votes
0 answers
38 views

Emulating Android Browser Properties Using MITMProxy and Undetected-Driver: Inconsistent Results

I'm working on a project that involves disguising a browser as an Android device to pass a web-based fingerprinting test provided by CreepJS. The goal is to change various browser properties such as ...
NoNam4's user avatar
  • 537
-1 votes
1 answer
33 views

Django IntegrityError: How to handle ForeignKeyViolation in a delete view?

I’m facing an issue when trying to delete records in Django. I have a delete function for companies, but sometimes I encounter an IntegrityError if the company has related records in another table. I ...
googosya's user avatar
0 votes
1 answer
39 views

How to manage multiple formset in Django with JavaScript

I have the following problem: I'm loading a form(Form A "Evento") for the User of application fill, in that Form I have to load dynamically another form(Form B "Logistica"), so ...
ian__santos's user avatar

15 30 50 per page