Comments (2)
Hi @sajjadmosaheb the reason you are running into this issue is because you have a single thread
instance that is being shared across all of the users of your session. You will need to create separate threads based on the user that is interaction. You can figure out which users is which by looking at the session_hash
of the request, as described here: https://www.gradio.app/docs/gradio/request
We'll add an example in our docs to make this clearer
from gradio.
Hi @abidlabs ,
Thanks for your response, I saw the demo but can't figure out what's going on, what I should do., and where I add the request function.
from gradio.
Related Issues (20)
- HuggingFaceDatasetSaver._deserialize_components raises OSError filename too long
- let image in gr.Image just fit inside the image container HOT 1
- `Chatbot` with `ChatMessage` with `metadata.title` is shown as collapsed accordion HOT 6
- update gr.Examples component,get an error which is list index out of range.
- Chat Interface - Adding additional params or inputs for use in function HOT 1
- gr.DownloadButton cannot get the correct filename HOT 2
- Cannot a remove/attachments HOT 1
- ValueError: MultimodalTextbox expects a dictionary with optional keys HOT 1
- gr.HTML Not Supported in description Argument of gradio.Interface HOT 2
- Add microphone input to `gr.MultimodalTextbox` HOT 3
- gr.DownloadButton inside Render Function Fails to Re-trigger Value Function on Input Change
- Ability to select a chat bubble to copy/edit/delete?
- Lite: pseudo-HTTP req/res to the Lite server is much slower than the read HTTP access HOT 1
- File and PDF Components Allowing Unsupported Files to be Uploaded via 'Click to Upload' HOT 5
- How do I prevent updating the inputs immediately after clicking on Examples component HOT 1
- CSS preload error with custom root_path
- change event fires infinitely for some components when updated once (Markdown, HTML) HOT 2
- [ImageEditor] Can't switch brush color when custom colors specified
- Got Unexpected datatype HOT 1
- Returning `{}` for a single output results in an update rather than no update HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.