AlexZou commited on
Commit
b9e2ea4
·
1 Parent(s): b8ec420

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -7,17 +7,19 @@ title = ""
7
  description = ""
8
  article = ""
9
 
 
10
  iface = gr.Interface(
11
- fn=greet,
12
- [
13
  gr.inputs.Image(type="filepath", label="GT Image"),
14
  gr.inputs.Image(type='filepath',label="Restored Image"),
15
- ],
16
- [
17
- gr.outputs.Textbox(label = 'PSNR'),
18
- gr.outputs.Textbox(label = 'SSIM')
19
- ],
20
- title=title,
21
- description=description,
22
- article=article)
 
23
  iface.launch()
 
7
  description = ""
8
  article = ""
9
 
10
+
11
  iface = gr.Interface(
12
+ fn=greet,
13
+ [
14
  gr.inputs.Image(type="filepath", label="GT Image"),
15
  gr.inputs.Image(type='filepath',label="Restored Image"),
16
+ ],
17
+ gr.outputs.Textbox(label = 'PSNR'),
18
+ title=title,
19
+ description=description,
20
+ article=article,
21
+ theme ="huggingface",
22
+ examples=examples,
23
+ allow_flagging=False,
24
+ ).launch(debug=False,enable_queue=True)
25
  iface.launch()