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

Add Gradio inspection and type to documentation #2541

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

Conversation

dotNomad
Copy link
Collaborator

This PR includes inspection for Gradio projects. It includes a new gradio project in our sample-content directory for easy testing. Lastly it adds python-gradio to our Configuration file reference documentation in the list of valid types.

Intent

Resolves #2475 and #2477

Type of Change

    • Bug Fix
    • New Feature
    • Breaking Change
    • Documentation
    • Refactor
    • Tooling

User Impact

When a user selects a Python file with a gradio import they now get a configuration with the type = 'python-gradio' for easier deployment.

Automated Tests

I included a test for the new Gradio detector.

Directions for Reviewers

Test Gradio inspection and deployment.

@@ -350,6 +350,7 @@
"python-dash",
"python-fastapi",
"python-flask",
"python-gradio",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that python-gradio wasn't listed here to enforce that the python section was required if the type = 'python-gradio'.

@dotNomad dotNomad linked an issue Jan 18, 2025 that may be closed by this pull request
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.

Document Gradio support Add inspection for Gradio
1 participant