Comments (10)
You need to create a client. Create client is what gives you a user/pass, not launch. That being said the script should be doing that. I'll look into it
from cheese.
Oh nice. Thanks @asmith26 :)
from cheese.
Bit confused by this. Share should just change whether the gradio demo is accessible by people outside your local connection.
So I've found by removing share=True
has fixed the actual problem in this issue (i.e. that I couldn't run the "Getting started" guide). I think what was happening without this change is that gradio would try to create such a public link/app, but I think a proxy network was blocking this, hence the app would just hang.
Maybe we could make this more customisable when cheese.launch()
is ran (my personal preference/thought is to have share=False
the default and then a user can use something like cheese.launch(share=True)
as required).
By disabling user auth, you are referring to the field where it asks for a user and password at start right?
This was just an idea to help me get the "Getting started" example running - I'm less worried about this now that I have fixed my issue, but it might be beneficial to remove user auth if it's possible and simplify things etc.
from cheese.
from cheese.
Hey @shahbuland I am also stuck on this page:
from cheese.
Okay I tried the docs_example.py
example.
Turns out (1, 673696)
is the (user id, password).
When trying this with image_selection.py
I am getting this error though:
but ideally it should not crash, right?
from cheese.
Possibly another idea/quick question: is there a way to disable user authentication?
UPDATE/FOUND FIX: Removed share = True
, from these lines:
cheese/cheese/client/__init__.py
Line 300 in 5148e80
cheese/cheese/client/gradio_client.py
Line 276 in 5148e80
from cheese.
Possibly another idea/quick question: is there a way to disable user authentication?
UPDATE/FOUND FIX: Removed
share = True
, from these lines:cheese/cheese/client/__init__.py
Line 300 in 5148e80
cheese/cheese/client/gradio_client.py
Line 276 in 5148e80
Bit confused by this. Share should just change whether the gradio demo is accessible by people outside your local connection. By disabling user auth, you are referring to the field where it asks for a user and password at start right? What would the desired behavior be (cc @ayulockin)? For it to just get you to the labelling screen immediately without any identifying information being needed? I see two options:
- Add option to drop user info entirely so that user ID is never kept/needed for anything. All you'd have to press is a start button to get started.
- Add option so that you do have to enter a user ID, but no password.
During development, I imagined that this imposed a security risk as it means anyone with url can start writing to your dataset.
What is preferred?
from cheese.
You need to create a client. Create client is what gives you a user/pass, not launch. That being said the script should be doing that. I'll look into it
Which client to run and how ? Can you add that to readme ?
from cheese.
Figured it out, gotta add this. Is there a way to let users sign up ? or give predefined users and passowrds ?
usr, passwd = cheese.create_client(1)
print(usr, passwd )
from cheese.
Related Issues (16)
- Need to move communication with user to API HOT 1
- Pipeline can't send/receive data directly to/from model
- Pipeline can't send directly to model HOT 1
- Ending data stream to user
- Client stats
- How about provide a NER annotation example? HOT 4
- Batched model input HOT 1
- Saving progress for datasets HOT 3
- Prolific integration
- Make API accessible without running directly HOT 1
- API Fails to connect to already running server sometimes HOT 1
- device=0 leads to AssertionError: Torch not compiled with CUDA enabled HOT 3
- `webdataset` not installed but required HOT 2
- `instruct_hf_pipeline` example returns rankings of `None` HOT 1
- Issues with Running Examples
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 cheese.