Skip to content
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

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

initial commit #11

wants to merge 18 commits into from

Conversation

SaiAbhinav36
Copy link

No description provided.

Copy link
Contributor

@msripooja msripooja left a 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.

mongo = PyMongo(app)

API_URL = "https://api-inference.huggingface.co/models/Salesforce/blip-image-captioning-large"
HEADERS = {"Authorization": "Bearer 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"}
Copy link
Contributor

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
Copy link
Contributor

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.

Hrushikesh-2004 and others added 10 commits July 10, 2024 22:14
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."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants