This commit is contained in:
Abubakar Abid 2021-12-16 09:53:17 -08:00
commit 6e52b580a6
7 changed files with 50 additions and 13 deletions

29
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Device information (please complete the following information):**
- OS: [e.g. Windows or iOS]
- Browser [e.g. chrome, safari]
- Gradio version [e.g. 2.5.1]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an improvement or new feature for Gradio
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,15 +1,5 @@
# Security Policy # Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are
currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| 2.x | :white_check_mark: |
## Reporting a Vulnerability ## Reporting a Vulnerability
If you discover a security vulnerability, we would be very grateful if you could email us at team@gradio.app. This is the preferred approach instead of opening a public issue. We take all vulnerability reports seriously, and will work to patch the vulnerability immediately. Whenever possible, we will credit the person or people who report the security vulnerabilities after it has been patched. If you discover a security vulnerability, we would be very grateful if you could email us at team@gradio.app. This is the preferred approach instead of opening a public issue. We take all vulnerability reports seriously, and will work to patch the vulnerability immediately. Whenever possible, we will credit the person or people who report the security vulnerabilities after it has been patched.

View File

@ -588,6 +588,7 @@ class Interface:
self.encryption_key = encryptor.get_key( self.encryption_key = encryptor.get_key(
getpass.getpass("Enter key for encryption: ")) getpass.getpass("Enter key for encryption: "))
# Store parameters
server_name = server_name or self.server_name or networking.LOCALHOST_NAME server_name = server_name or self.server_name or networking.LOCALHOST_NAME
server_port = server_port or self.server_port or networking.INITIAL_PORT_VALUE server_port = server_port or self.server_port or networking.INITIAL_PORT_VALUE
if self.enable_queue is None: if self.enable_queue is None:

View File

@ -72,7 +72,7 @@
</svg> </svg>
<div class="help-menu hidden group-hover:flex flex-col absolute top-6 right-0 bg-white shadow w-52"> <div class="help-menu hidden group-hover:flex flex-col absolute top-6 right-0 bg-white shadow w-52">
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/issues/new">File an Issue</a> href="https://github.com/gradio-app/gradio/issues/new/choose">File an Issue</a>
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/discussions">Discussions</a> href="https://github.com/gradio-app/gradio/discussions">Discussions</a>
</div> </div>

View File

@ -87,7 +87,7 @@
</svg> </svg>
<div class="hidden group-hover:flex group-active:flex flex-col absolute top-6 right-0 bg-white shadow w-52"> <div class="hidden group-hover:flex group-active:flex flex-col absolute top-6 right-0 bg-white shadow w-52">
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/issues/new">File an Issue</a> href="https://github.com/gradio-app/gradio/issues/new/choose">File an Issue</a>
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/discussions">Discussions</a> href="https://github.com/gradio-app/gradio/discussions">Discussions</a>
</div> </div>

View File

@ -54,7 +54,7 @@
</svg> </svg>
<div class="help-menu hidden group-hover:flex flex-col absolute top-6 right-0 bg-white shadow w-52"> <div class="help-menu hidden group-hover:flex flex-col absolute top-6 right-0 bg-white shadow w-52">
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/issues/new">File an Issue</a> href="https://github.com/gradio-app/gradio/issues/new/choose">File an Issue</a>
<a class="link px-4 py-2 inline-block hover:bg-gray-100" <a class="link px-4 py-2 inline-block hover:bg-gray-100"
href="https://github.com/gradio-app/gradio/discussions">Discussions</a> href="https://github.com/gradio-app/gradio/discussions">Discussions</a>
</div> </div>