Spaces:
Runtime error
Runtime error
AttributeError: module 'gradio' has no attribute 'Image'
#2
by
nightfury
- opened
2022-09-28 15:22:25.705 Uncaught app exception
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/streamlit/scriptrunner/script_runner.py", line 554, in _run_script
exec(code, module.dict)
File "/home/user/app/app.py", line 33, in
gr.Interface(fn=infer, inputs=[gr.Image(source="upload", type="filepath", label="Raw Image"), gr.Textbox(label = 'Prompt Input Text'),
AttributeError: module 'gradio' has no attribute 'Image'
Please help with above Error