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

HuggingFace sample fix #85

Merged

Conversation

dmytrostruk
Copy link
Member

Motivation and Context

It was not possible to run HuggingFace inference sample locally. This PR contains small changes to run sample locally with Docker or running Python script directly.

Description

  1. Resolved dependencies.
  2. Updated .gitignore to ignore Python virtual environment folders.
  3. Removed SSL context property from Flask app object.
  4. Updated README.md with more instructions.

Contribution Checklist

Sorry, something went wrong.

@dmytrostruk dmytrostruk added the PR: ready for review All feedback addressed, ready for reviews label Mar 15, 2023
@shawncal shawncal merged commit ee6027e into microsoft:experimental-huggingface Mar 15, 2023
golden-aries pushed a commit to golden-aries/semantic-kernel that referenced this pull request Oct 10, 2023
### Motivation and Context

<!-- Thank you for your contribution to the copilot-chat repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
The API chatSession/create was not returning the full chatSession
object, which caused issues where the webapp was not able to get some
properties from the new chat session.

### Description
Return the full chatSession object along with the initial chat message.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready for review All feedback addressed, ready for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants