Spaces:
Runtime error
Runtime error
sunshangquan
commited on
Commit
•
46dda0b
1
Parent(s):
082bc01
commit from ssq
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def predict(input_img):
|
|
32 |
save_img(output_path, img_as_ubyte(restored))
|
33 |
|
34 |
example_images = [
|
35 |
-
"examples/example.
|
36 |
]
|
37 |
gradio_app = gr.Interface(
|
38 |
predict,
|
@@ -41,7 +41,7 @@ gradio_app = gr.Interface(
|
|
41 |
gr.Image(type="filepath", label="Restored image", height=768, width=768),
|
42 |
gr.Textbox(label="Error Message")
|
43 |
],
|
44 |
-
title="
|
45 |
description="[Histoformer](https://huggingface.co/sunsean/Histoformer/) is a image restoration model for all-in-one adverse weather.",
|
46 |
examples=example_images
|
47 |
)
|
|
|
32 |
save_img(output_path, img_as_ubyte(restored))
|
33 |
|
34 |
example_images = [
|
35 |
+
"examples/example.jpg",
|
36 |
]
|
37 |
gradio_app = gr.Interface(
|
38 |
predict,
|
|
|
41 |
gr.Image(type="filepath", label="Restored image", height=768, width=768),
|
42 |
gr.Textbox(label="Error Message")
|
43 |
],
|
44 |
+
title="Histoformer: All-in-one Image Restoration under Adverse Weather Conditions",
|
45 |
description="[Histoformer](https://huggingface.co/sunsean/Histoformer/) is a image restoration model for all-in-one adverse weather.",
|
46 |
examples=example_images
|
47 |
)
|