【已解决】AttributeError: module ‘gradio‘ has no attribute ‘Image‘

 问题描述

  Traceback (most recent call last):
  File "/media/visionx/monica/project/ResShift/app.py", line 108, in
    gr.Image(type="filepath", label="Input: Low Quality Image"),
AttributeError: module 'gradio' has no attribute 'Image'

解决办法 

         因为版本:

pip install gradio==3.4

        再次运行,即可解决 

你可能感兴趣的:(Bugs(程序报错),python,linux,开发语言,深度学习,pytorch,机器学习,服务器)