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

Check package version #6

Closed
badbye opened this issue Jul 14, 2019 · 3 comments
Closed

Check package version #6

badbye opened this issue Jul 14, 2019 · 3 comments
Assignees

Comments

@badbye
Copy link
Contributor

badbye commented Jul 14, 2019

The latest version is 0.7.8, however https://gradio.app/api/pkg-version returns 0.5.0.
BTW, for some reason, the link is unstable to access from China.
So I suggest using a more stable API, or not even check the version if it is not updated in time automatically.

@dawoodkhan82
Copy link
Collaborator

Commented out the PKG version check for now.

@soumya997
Copy link

@dawoodkhan82 How to check the version of gradio?
I used

import gradio as gr
print(gr.__version__)

and its giving me this error,what to do?

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-26174f9c9e3b> in <module>()
      1 
      2 
----> 3 print(gr.__version__)

AttributeError: module 'gradio' has no attribute '__version__'

@dawoodkhan82
Copy link
Collaborator

dawoodkhan82 commented Nov 19, 2020

fixed with the latest commit. You can now check the latest version of gradio by:

import gradio as gr
print(gr.__version__)

abidlabs added a commit that referenced this issue Apr 4, 2023
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

No branches or pull requests

4 participants