Skip to content

copy to clipboard is not working #2311

@secsilm

Description

@secsilm

Describe the bug

copy to clipboard is not working when output="json". Click it and no response.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

import gradio as gr

demo = gr.Interface(lambda name: {"output": f"Hello {name}!"}, inputs="text", outputs='json')

if __name__ == "__main__":
    demo.launch(server_name='0.0.0.0', debug=True)

Screenshot

image

Logs

Running on local URL:  http://0.0.0.0:7860

To create a public link, set `share=True` in `launch()`.

System Info

  • Gradio version: 3.3.1
  • OS: Ubuntu 18.04
  • Browser: Chrome 105.0.5195.102

Severity

annoying

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions