Spaces:
Build error
Build error
Danh Tran
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 2 |
import predict_model
|
| 3 |
|
| 4 |
def greet(input_img):
|
| 5 |
-
|
| 6 |
-
return
|
| 7 |
|
| 8 |
demo = gr.Interface(greet, gr.Image(), "image")
|
| 9 |
demo.launch()
|
|
|
|
| 2 |
import predict_model
|
| 3 |
|
| 4 |
def greet(input_img):
|
| 5 |
+
out_img = predict_model.run(input_img)
|
| 6 |
+
return out_img
|
| 7 |
|
| 8 |
demo = gr.Interface(greet, gr.Image(), "image")
|
| 9 |
demo.launch()
|