-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial commit #11
base: main
Are you sure you want to change the base?
initial commit #11
Conversation
Added Authentication (login and signup)
Uploaded Mobilenet v3 (vlm model) into the repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not approving this PR. Please go through my review comments and do the necessary changes.
Backend/imageAndVideoProcessing.py
Outdated
mongo = PyMongo(app) | ||
|
||
API_URL = "https://api-inference.huggingface.co/models/Salesforce/blip-image-captioning-large" | ||
HEADERS = {"Authorization": "Bearer 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"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For storing auth headers, API keys use .env file. Sensitive data like API keys, auth headers should never be made public.
@@ -0,0 +1,16 @@ | |||
# classico |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modify the default README of this git repo which is at parent directory level. README needs to be elaborate enough to explain the purpose, utility of your project and must provide all instructions to clone, run your project.
I've modified the `LoadConversations` function to enable volunteers to view and respond to conversations. If a response exists, the input field for new responses is hidden, showing the existing response directly.
I updated the `conversations` endpoint to convert ObjectId into a string for serialization since ObjectId isn't serializable. Additionally, I added a new `updateresponse` endpoint to update the response field of a conversation."
No description provided.