File size: 489 Bytes
720f05f
 
 
b5a2b11
720f05f
b3ef3a8
 
 
55588c1
b9e2ea4
b3ef3a8
b9e2ea4
 
b3ef3a8
 
b9e2ea4
 
 
 
 
 
 
 
 
b0d779d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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()