Spaces:
Sleeping
Sleeping
Delete deploy.py
Browse files
deploy.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
import numpy as np
|
| 2 |
-
import gradio as gr
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
def funksjon(input_img):
|
| 6 |
-
|
| 7 |
-
#Må inporterer modellen fra API på huggingface.co
|
| 8 |
-
|
| 9 |
-
#imgPred = model.fit(input_img)
|
| 10 |
-
imgPred = input_img
|
| 11 |
-
return imgPred
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
demo = gr.Interface(funksjon, gr.Image(), "image")
|
| 15 |
-
#demo.launch(share=True)
|
| 16 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|