Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,8 @@ if not os.path.exists("./temp"):
|
|
111 |
|
112 |
meta_examples = ["./images/1.jpg", "./images/2.jpg", "./images/3.jpg", "./images/4.jpg", "./images/5.jpg", "./images/6.jpg"]
|
113 |
|
114 |
-
gradio_input=[gr.Image()]
|
115 |
-
gradio_Output=[gr.File(),gr.Image()]
|
116 |
gradio_interface = gr.Interface(fn=process_file, inputs=gradio_input,outputs=gradio_Output ,
|
117 |
title="Meta Watermark Remover",
|
118 |
examples=meta_examples)
|
@@ -122,8 +122,8 @@ gradio_interface = gr.Interface(fn=process_file, inputs=gradio_input,outputs=gra
|
|
122 |
|
123 |
gradio_multiple_images = gr.Interface(
|
124 |
process_files,
|
125 |
-
[gr.File(type='filepath', file_count='multiple')],
|
126 |
-
[gr.File(),gr.Image()],
|
127 |
cache_examples=True
|
128 |
)
|
129 |
|
|
|
111 |
|
112 |
meta_examples = ["./images/1.jpg", "./images/2.jpg", "./images/3.jpg", "./images/4.jpg", "./images/5.jpg", "./images/6.jpg"]
|
113 |
|
114 |
+
gradio_input=[gr.Image(label='Upload an Image')]
|
115 |
+
gradio_Output=[gr.File(label='Download Image'),gr.Image(label='Display Image')]
|
116 |
gradio_interface = gr.Interface(fn=process_file, inputs=gradio_input,outputs=gradio_Output ,
|
117 |
title="Meta Watermark Remover",
|
118 |
examples=meta_examples)
|
|
|
122 |
|
123 |
gradio_multiple_images = gr.Interface(
|
124 |
process_files,
|
125 |
+
[gr.File(type='filepath', file_count='multiple',label='Upload Images')],
|
126 |
+
[gr.File(label='Download File'),gr.Image(label='Display Image')],
|
127 |
cache_examples=True
|
128 |
)
|
129 |
|