Jamshaid89
commited on
Commit
·
95ea752
1
Parent(s):
36edace
Fixed output Image type
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ label_output = gr.outputs.Textbox()
|
|
21 |
# Create Gradio interfaces for input and output
|
22 |
image_input = gr.inputs.Image(shape=(160, 160))
|
23 |
label_input = gr.inputs.Textbox(label="Enter Label")
|
24 |
-
output_image = gr.outputs.Image()
|
25 |
|
26 |
# Create the Gradio interface
|
27 |
interface = gr.Interface(
|
|
|
21 |
# Create Gradio interfaces for input and output
|
22 |
image_input = gr.inputs.Image(shape=(160, 160))
|
23 |
label_input = gr.inputs.Textbox(label="Enter Label")
|
24 |
+
output_image = gr.outputs.Image(type="numpy")
|
25 |
|
26 |
# Create the Gradio interface
|
27 |
interface = gr.Interface(
|