Spaces:
Runtime error
Runtime error
Commit
·
86352a1
1
Parent(s):
3f2b698
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,8 @@ import numpy as np
|
|
| 3 |
import utlis
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
-
|
|
|
|
| 7 |
|
| 8 |
########################################################################
|
| 9 |
def process_video(image_path):
|
|
@@ -142,7 +143,9 @@ def process_video(image_path):
|
|
| 142 |
count += 1
|
| 143 |
|
| 144 |
|
| 145 |
-
app=gr.Interface(
|
|
|
|
|
|
|
| 146 |
inputs=gr.Image(type='filepath'),
|
| 147 |
outputs=gr.Image(),
|
| 148 |
# examples=["1.jpg","2.jpg",'3.jpg'],
|
|
|
|
| 3 |
import utlis
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
+
def fun1(img):
|
| 7 |
+
return img
|
| 8 |
|
| 9 |
########################################################################
|
| 10 |
def process_video(image_path):
|
|
|
|
| 143 |
count += 1
|
| 144 |
|
| 145 |
|
| 146 |
+
app=gr.Interface(
|
| 147 |
+
# fn=process_video,
|
| 148 |
+
fn= fun1,
|
| 149 |
inputs=gr.Image(type='filepath'),
|
| 150 |
outputs=gr.Image(),
|
| 151 |
# examples=["1.jpg","2.jpg",'3.jpg'],
|