Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,17 +7,19 @@ title = ""
|
|
| 7 |
description = ""
|
| 8 |
article = ""
|
| 9 |
|
|
|
|
| 10 |
iface = gr.Interface(
|
| 11 |
-
|
| 12 |
-
|
| 13 |
gr.inputs.Image(type="filepath", label="GT Image"),
|
| 14 |
gr.inputs.Image(type='filepath',label="Restored Image"),
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 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()
|