v0.55.8

Try our Chrome extension

Chrome store icon Chrome Webstore

Easily add the current web-page from your browser directly into your changedetection.io tool, more great features coming soon!

Changedetection.io needs your support!

You can help us by supporting changedetection.io on these platforms;

The more popular changedetection.io is, the more time we can dedicate to adding amazing features!

Many thanks :)

changedetection.io team


Klávesnice: ← Předchozí   → Další
Ještě ne před sekundami
            False
        
Ještě ne před sekundami
Aktuální chybový snímek obrazovky z posledního požadavku

Spouštěcí text Ignorovaný text Blokovaný text

6 hours ago
    Skip to content

      Navigation Menu

            Sign in Appearance settings
                * Platform
                        + AI CODE CREATION
                            o GitHub Copilot Write better code with AI
                            o GitHub Copilot app Direct agents from issue to merge
                            o MCP Registry Integrate external tools
                        + DEVELOPER WORKFLOWS
                            o Actions Automate any workflow
                            o Codespaces Instant dev environments
                            o Issues Plan and track work
                            o Code Review Manage code changes
                            o Code Quality Enforce quality at merge
                        + APPLICATION SECURITY
                            o GitHub Advanced Security Find and fix vulnerabilities
                            o Code security Secure your code as you build
                            o Secret protection Stop leaks before they start
                        + EXPLORE
                            o Why GitHub
                            o Documentation
                            o Blog
                            o Changelog
                            o Marketplace
                      View all features
                * Solutions
                        + BY COMPANY SIZE
                            o Enterprises
                            o Small and medium teams
                            o Startups
                            o Nonprofits
                        + BY USE CASE
                            o App Modernization
                            o DevSecOps
                            o DevOps
                            o CI/CD
                            o View all use cases
                        + BY INDUSTRY
                            o Healthcare
                            o Financial services
                            o Manufacturing
                            o Government
                            o View all industries
                      View all solutions
                * Resources
                        + EXPLORE BY TOPIC
                            o AI
                            o Software Development
                            o DevOps
                            o Security
                            o View all topics
                        + EXPLORE BY TYPE
                            o Customer stories
                            o Events & webinars
                            o Ebooks & reports
                            o Business insights
                            o GitHub Skills
                        + SUPPORT & SERVICES
                            o Documentation
                            o Customer support
                            o Community forum
                            o Trust center
                            o Partners
                      View all resources
                * Open Source
                        + COMMUNITY
                            o GitHub Sponsors Fund open source developers
                        + PROGRAMS
                            o Security Lab
                            o Maintainer Community
                            o Accelerator
                            o GitHub Stars
                            o Archive Program
                        + REPOSITORIES
                            o Topics
                            o Trending
                            o Collections
                * Enterprise
                        + ENTERPRISE SOLUTIONS
                            o Enterprise platform AI-powered developer platform
                        + AVAILABLE ADD-ONS
                            o GitHub Advanced Security Enterprise-grade security features
                            o Copilot for Business Enterprise-grade AI features
                            o Premium Support Enterprise-grade 24/7 support
              * Pricing
                Type / to search
                Sign in
              Sign up Appearance settings
      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              Uh oh!

              There was an error while loading. Please reload this page.

              gradio-app / gradio Public
              * Notifications You must be signed in to change notification settings
              * Fork 3.6k
                * Star 43.3k
          * Code
          * Issues 184
          * Pull requests 14
          * Actions
          * Projects
          * Wiki
          * Security and quality 29
          * Insights
          Additional navigation options
                  * Code
                  * Issues
                  * Pull requests
                  * Actions
                  * Projects
                  * Wiki
                  * Security and quality
                  * Insights
                                              main
                                          Branches Tags
                                            Go to file
                                        Code
                                          Open more actions menu

                                        Folders and files

                                          Name                                        Name                                          Last commit message    Last commit date
                                            Latest commit                           
                                                                                    
                                                History                             
                                                                                    
                                                8,721 Commits                       
                                                  8,721 Commits                     
                                                  .agents/ skills                             .agents/ skills                                                              
                                                  .changeset                                  .changeset                                                                   
                                                  .claude                                     .claude                                                                      
                                                  .config                                     .config                                                                      
                                                  .devcontainer                               .devcontainer                                                                
                                                  .github                                     .github                                                                      
                                                  .storybook                                  .storybook                                                                   
                                                  .vitest-attachments                         .vitest-attachments                                                          
                                                  .vscode                                     .vscode                                                                      
                                                  client                                      client                                                                       
                                                  demo                                        demo                                                                         
                                                  ffmpeg-bin                                  ffmpeg-bin                                                                   
                                                  gradio                                      gradio                                                                       
                                                  guides                                      guides                                                                       
                                                  home/ runner/ work/ gradio/ gradio          home/ runner/ work/ gradio/ gradio                                           
                                                  js                                          js                                                                           
                                                  patches                                     patches                                                                      
                                                  readme_files                                readme_files                                                                 
                                                  scripts                                     scripts                                                                      
                                                  test                                        test                                                                         
                                                  testing-guidelines                          testing-guidelines                                                           
                                                  .dockerignore                               .dockerignore                                                                
                                                  .editorconfig                               .editorconfig                                                                
                                                  .git-blame-ignore-revs                      .git-blame-ignore-revs                                                       
                                                  .gitignore                                  .gitignore                                                                   
                                                  AGENTS.md                                   AGENTS.md                                                                    
                                                  CHANGELOG.md                                CHANGELOG.md                                                                 
                                                  CITATION.cff                                CITATION.cff                                                                 
                                                  CODE_OF_CONDUCT.md                          CODE_OF_CONDUCT.md                                                           
                                                  CONTRIBUTING.md                             CONTRIBUTING.md                                                              
                                                  LICENSE                                     LICENSE                                                                      
                                                  README.md                                   README.md                                                                    
                                                  SECURITY.md                                 SECURITY.md                                                                  
                                                  _dump_tmp.mjs                               _dump_tmp.mjs                                                                
                                                  _worker.bundle                              _worker.bundle                                                               
                                                  build_pypi.sh                               build_pypi.sh                                                                
                                                  cs.js                                       cs.js                                                                        
                                                  globals.d.ts                                globals.d.ts                                                                 
                                                  package.json                                package.json                                                                 
                                                  pnpm-lock.yaml                              pnpm-lock.yaml                                                               
                                                  pnpm-workspace.yaml                         pnpm-workspace.yaml                                                          
                                                  pyproject.toml                              pyproject.toml                                                               
                                                  readme_template.md                          readme_template.md                                                           
                                                  render_readme.py                            render_readme.py                                                             
                                                  renovate.json                               renovate.json                                                                
                                                  requirements-mcp.txt                        requirements-mcp.txt                                                         
                                                  requirements-oauth.txt                      requirements-oauth.txt                                                       
                                                  requirements.txt                            requirements.txt                                                             
                                                  style.md                                    style.md                                                                     
                                                  svelte.config.js                            svelte.config.js                                                             
                                                  tsconfig.json                               tsconfig.json                                                                
                                                  tsconfig.tmp.json                           tsconfig.tmp.json                                                            
                                            View all files                          
                                          

                                              Repository files navigation

                                                * 
                                                * README
                                                * Code of conduct
                                                * Contributing
                                                * Apache-2.0 license
                                                * Security
                                                More items

                                                Website | Documentation | Guides | Getting Started | Examples

                                                English | 中文

                                                Gradio: Build Machine Learning Web Apps — in Python

                                              Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitrary Python function. You can then share a link to your demo or web application in just a few seconds using Gradio's built-in sharing features. No JavaScript, CSS, or web hosting experience needed!

                                              It just takes a few lines of Python to create your own demo, so let's get started 💫

                                                Installation

                                              Prerequisite: Gradio requires Python 3.10 or higher.

                                              We recommend installing Gradio using pip, which is included by default in Python. Run this in your terminal or command prompt:

                                                pip install --upgrade gradio

                                                Tip

                                                It is best to install Gradio in a virtual environment. Detailed installation instructions for all common operating systems are provided here.

                                                Building Your First Demo

                                              You can run Gradio in your favorite code editor, Jupyter notebook, Google Colab, or anywhere else you write Python. Let's write your first Gradio app:

                                                import gradio as gr
                                                
                                                def greet(name, intensity):
                                                    return "Hello, " + name + "!" * int(intensity)
                                                
                                                demo = gr.Interface(
                                                    fn=greet,
                                                    inputs=["text", "slider"],
                                                    outputs=["text"],
                                                    api_name="predict"
                                                )
                                                
                                                demo.launch()

                                                Tip

                                                We shorten the imported name from gradio to gr. This is a widely adopted convention for better readability of code.

                                              Now, run your code. If you've written the Python code in a file named app.py, then you would run python app.py from the terminal.

                                              The demo below will open in a browser on http://localhost:7860 if running from a file. If you are running within a notebook, the demo will appear embedded within the notebook.

                                              Type your name in the textbox on the left, drag the slider, and then press the Submit button. You should see a friendly greeting on the right.

                                                Tip

                                                When developing locally, you can run your Gradio app in hot reload mode, which automatically reloads the Gradio app whenever you make changes to the file. To do this, simply type in gradio before the name of the file instead of python. In the example above, you would type: gradio app.py in your terminal. You can also enable vibe mode by using the --vibe flag, e.g. gradio --vibe app.py, which provides an in-browser chat that can be used to write or edit your Gradio app using natural language. Learn more in the Hot Reloading Guide.

                                              Understanding the Interface Class

                                              You'll notice that in order to make your first demo, you created an instance of the gr.Interface class. The Interface class is designed to create demos for machine learning models which accept one or more inputs, and return one or more outputs.

                                              The Interface class has three core arguments:

                                                * fn: the function to wrap a user interface (UI) around
                                                * inputs: the Gradio component(s) to use for the input. The number of components should match the number of arguments in your function.
                                                * outputs: the Gradio component(s) to use for the output. The number of components should match the number of return values from your function.

                                              The fn argument is very flexible -- you can pass any Python function that you want to wrap with a UI. In the example above, we saw a relatively simple function, but the function could be anything from a music generator to a tax calculator to the prediction function of a pretrained machine learning model.

                                              The inputs and outputs arguments take one or more Gradio components. As we'll see, Gradio includes more than 30 built-in components (such as the gr.Textbox(), gr.Image(), and gr.HTML() components) that are designed for machine learning applications.

                                                Tip

                                                For the inputs and outputs arguments, you can pass in the name of these components as a string ("textbox") or an instance of the class (gr.Textbox()).

                                              If your function accepts more than one argument, as is the case above, pass a list of input components to inputs, with each input component corresponding to one of the arguments of the function, in order. The same holds true if your function returns more than one value: simply pass in a list of components to outputs. This flexibility makes the Interface class a very powerful way to create demos.

                                              We'll dive deeper into the gr.Interface on our series on building Interfaces.

                                                Sharing Your Demo

                                              What good is a beautiful demo if you can't share it? Gradio lets you easily share a machine learning demo without having to worry about the hassle of hosting on a web server. Simply set share=True in launch(), and a publicly accessible URL will be created for your demo. Let's revisit our example demo, but change the last line as follows:

                                                import gradio as gr
                                                
                                                def greet(name):
                                                    return "Hello " + name + "!"
                                                
                                                demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
                                                    
                                                demo.launch(share=True)  # Share your demo with just 1 extra parameter 🚀

                                              When you run this code, a public URL will be generated for your demo in a matter of seconds, something like:

                                              👉 https://a23dsf231adb.gradio.live

                                              Now, anyone around the world can try your Gradio demo from their browser, while the machine learning model and all computation continues to run locally on your computer.

                                              To learn more about sharing your demo, read our dedicated guide on sharing your Gradio application.

                                                An Overview of Gradio

                                              So far, we've been discussing the Interface class, which is a high-level class that lets you build demos quickly with Gradio. But what else does Gradio include?

                                                Custom Demos with gr.Blocks

                                              Gradio offers a low-level approach for designing web apps with more customizable layouts and data flows with the gr.Blocks class. Blocks supports things like controlling where components appear on the page, handling multiple data flows and more complex interactions (e.g. outputs can serve as inputs to other functions), and updating properties/visibility of components based on user interaction — still all in Python.

                                              You can build very custom and complex applications using gr.Blocks(). For example, the popular image generation Automatic1111 Web UI is built using Gradio Blocks. We dive deeper into the gr.Blocks on our series on building with Blocks.

                                                Chatbots with gr.ChatInterface

                                              Gradio includes another high-level class, gr.ChatInterface, which is specifically designed to create Chatbot UIs. Similar to Interface, you supply a function and Gradio creates a fully working Chatbot UI. If you're interested in creating a chatbot, you can jump straight to our dedicated guide on gr.ChatInterface.

                                                The Gradio Python & JavaScript Ecosystem

                                              That's the gist of the core gradio Python library, but Gradio is actually so much more! It's an entire ecosystem of Python and JavaScript libraries that let you build machine learning applications, or query them programmatically, in Python or JavaScript. Here are other related parts of the Gradio ecosystem:

                                                * Gradio Python Client (gradio_client): query any Gradio app programmatically in Python.
                                                * Gradio JavaScript Client (@gradio/client): query any Gradio app programmatically in JavaScript.
                                                * Hugging Face Spaces: the most popular place to host Gradio applications — for free!
                                                * Server mode (gradio.Server): build a custom frontend with Gradio's backend — queue, streaming, MCP, ZeroGPU, and Spaces hosting included.

                                                What's Next?

                                              Keep learning about Gradio sequentially using the Gradio Guides, which include explanations as well as example code and embedded interactive demos. Next up: let's dive deeper into the Interface class.

                                              Or, if you already know the basics and are looking for something specific, you can search the more technical API documentation.

                                                AI Coding Skills

                                              Gradio provides a "skill" that enriches AI coding assistants (like Cursor, Claude Code, Codex, etc.) with Gradio-specific knowledge, so that they can build Gradio apps more effectively. This is especially useful when creating custom Gradio components or styling. Install the Gradio skill for your coding assistant with a single command:

                                                gradio skills add --cursor    # or --claude, --codex, --opencode

                                              Use --global to install at the user level (applies to all projects). Your skill will be automatically available for the particular coding agent.

                                              You can also install a skill for a specific Gradio Space, which generates API usage docs (Python, JS, cURL) on the fly:

                                                gradio skills add abidlabs/en2fr --cursor

                                                Questions?

                                              If you'd like to report a bug or have a feature request, please create an issue on GitHub. For general questions about usage, we are available on our Discord server and happy to help.

                                              If you like Gradio, please leave us a ⭐ on GitHub!

                                                Open Source Stack

                                              Gradio is built on top of many wonderful open-source libraries!

                                                License

                                              Gradio is licensed under the Apache License 2.0 found in the LICENSE file in the root directory of this repository.

                                                Citation

                                              Also check out the paper Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild, ICML HILL 2019, and please cite it if you use Gradio in your work.

                                                @article{abid2019gradio, title = {Gradio: Hassle-Free Sharing and Testing of ML Models in the Wild}, author = {Abid, Abubakar and Abdalla, Ali and Abid, Ali and Khan, Dawood and Alfozan, Abdulrahman and Zou, James}, journal = {arXiv preprint arXiv:1906.02569}, year = {2019}, }

                                        About

                                        Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!

                                          www.gradio.app

                                        Topics

                                          data-analysisdata-sciencedata-visualizationdeep-learningdeploygradiogradio-interfaceinterfacemachine-learningmodelspythonpython-notebookuiui-components

                                        Resources

                                          Readme
                                          Apache-2.0 license

                                        Code of conduct

                                          Code of conduct

                                        Contributing

                                          Contributing

                                        Security policy

                                          Security policy
                                          Cite this repository
                                          Activity
                                          Custom properties

                                        Stars

                                          43.3k stars

                                        Watchers

                                          197 watching

                                        Forks

                                          3.6k forks
                                          Report repository

                                        Releases

                                        Used by

                                        Contributors

                                        Languages

    Footer

        © 2026 GitHub, Inc.

      Footer navigation

        * Terms
        * Privacy
        * Security
        * Status
        * Community
        * Docs
        * Contact
        * Manage cookies
        * Do not share my personal information
      You can’t perform that action at this time.
For now, Differences are performed on text, not graphically, only the latest screenshot is available.

Screenshot requires a Content Fetcher ( Sockpuppetbrowser, selenium, etc ) that supports screenshots.