Spaces:
Runtime error
Runtime error
testing html embed
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ if __name__ == "__main__":
|
|
| 96 |
# gradio's image inputs look like this: <PIL.Image.Image image mode=RGB size=305x266 at 0x7F3D01C91FA0>
|
| 97 |
# need to learn how to handle image inputs, or deal with file inputs or just file path strings
|
| 98 |
inp = gr.inputs.Textbox(lines=1, placeholder="Insert file path here", default="", label="Input Image Path", optional=False)
|
| 99 |
-
out =
|
| 100 |
|
| 101 |
iface = gr.Interface(
|
| 102 |
segmentation_generation,
|
|
|
|
| 96 |
# gradio's image inputs look like this: <PIL.Image.Image image mode=RGB size=305x266 at 0x7F3D01C91FA0>
|
| 97 |
# need to learn how to handle image inputs, or deal with file inputs or just file path strings
|
| 98 |
inp = gr.inputs.Textbox(lines=1, placeholder="Insert file path here", default="", label="Input Image Path", optional=False)
|
| 99 |
+
out = ["html"]
|
| 100 |
|
| 101 |
iface = gr.Interface(
|
| 102 |
segmentation_generation,
|