Update main.py
Browse files
main.py
CHANGED
|
@@ -76,10 +76,13 @@ css = '''
|
|
| 76 |
'''
|
| 77 |
gr.Interface(
|
| 78 |
title=title,
|
| 79 |
-
|
| 80 |
-
|
| 81 |
fn=predict_and_return_image,
|
| 82 |
-
inputs=[
|
|
|
|
|
|
|
|
|
|
| 83 |
outputs=[gr.Image(label="Predicted Colored Image")],
|
| 84 |
css = '''
|
| 85 |
.gradio-container {background-color: #DCDCDC}
|
|
|
|
| 76 |
'''
|
| 77 |
gr.Interface(
|
| 78 |
title=title,
|
| 79 |
+
description=description,
|
| 80 |
+
article=article,
|
| 81 |
fn=predict_and_return_image,
|
| 82 |
+
inputs=[
|
| 83 |
+
gr.Image(label="Gray Scale Image"),
|
| 84 |
+
gr.Dropdown(["MODEL_1", "MODEL_2"])
|
| 85 |
+
],
|
| 86 |
outputs=[gr.Image(label="Predicted Colored Image")],
|
| 87 |
css = '''
|
| 88 |
.gradio-container {background-color: #DCDCDC}
|