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() |