Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| def greet(name): | |
| return "Hello!!" | |
| title = "" | |
| description = "" | |
| article = "" | |
| iface = gr.Interface( | |
| fn=greet, | |
| [ | |
| gr.inputs.Image(type="filepath", label="GT Image"), | |
| gr.inputs.Image(type='filepath',label="Restored Image"), | |
| ], | |
| gr.outputs.Textbox(label = 'PSNR'), | |
| title=title, | |
| description=description, | |
| article=article, | |
| theme ="huggingface", | |
| examples=examples, | |
| allow_flagging=False, | |
| ).launch(debug=False,enable_queue=True) | |
| #iface.launch() |