Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -141,8 +141,8 @@ def app():
|
|
141 |
gr.HTML("<h2>Input Parameters</h2>")
|
142 |
img_path = gr.Image(label="Image", height = 260, width = 410)
|
143 |
vid_path = gr.Video(label="Video", height = 260, width = 410)
|
144 |
-
gr.HTML("<img src='flie/img_examples/clasess.png'>")
|
145 |
-
|
146 |
#gr.Examples(['./img_examples/Exam_1.png','./img_examples/Exam_2.png','./img_examples/Exam_3.png','./img_examples/Exam_4.png','./img_examples/Exam_5.png'], inputs=img_path,label = "Image Example", cache_examples = False)
|
147 |
#gr.Examples(['./video_examples/video_1.mp4', './video_examples/video_2.mp4','./video_examples/video_3.mp4','./video_examples/video_4.mp4','./video_examples/video_5.mp4'], inputs=vid_path, label = "Video Example", cache_examples = False)
|
148 |
with gr.Column(min_width = 270):
|
@@ -210,4 +210,4 @@ with gradio_app:
|
|
210 |
with gr.Column():
|
211 |
app()
|
212 |
|
213 |
-
gradio_app.launch(debug=True
|
|
|
141 |
gr.HTML("<h2>Input Parameters</h2>")
|
142 |
img_path = gr.Image(label="Image", height = 260, width = 410)
|
143 |
vid_path = gr.Video(label="Video", height = 260, width = 410)
|
144 |
+
#gr.HTML("<img src='flie/img_examples/clasess.png'>")
|
145 |
+
gr.Image(value = "/file=.img_examples/clasess.png", interactive = False)
|
146 |
#gr.Examples(['./img_examples/Exam_1.png','./img_examples/Exam_2.png','./img_examples/Exam_3.png','./img_examples/Exam_4.png','./img_examples/Exam_5.png'], inputs=img_path,label = "Image Example", cache_examples = False)
|
147 |
#gr.Examples(['./video_examples/video_1.mp4', './video_examples/video_2.mp4','./video_examples/video_3.mp4','./video_examples/video_4.mp4','./video_examples/video_5.mp4'], inputs=vid_path, label = "Video Example", cache_examples = False)
|
148 |
with gr.Column(min_width = 270):
|
|
|
210 |
with gr.Column():
|
211 |
app()
|
212 |
|
213 |
+
gradio_app.launch(debug=True)
|