File size: 252 Bytes
75ea7e6
d77453d
75ea7e6
d77453d
75ea7e6
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
import subprocess

subprocess.run(["python", "nnunet/dataset_conversion/Task500_Glacier_inference.py"])
def greet(name):
    return "Hello " + name + "!!"

iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()