AudioControlNet / app.py
chenxie95's picture
Create app.py
52cb40a verified
raw
history blame
233 Bytes
import gradio as gr
import torch
def greet(name):
return f"Hello {name}!! Torch is {torch.__version__}. Cuda is available: {torch.cuda.is_available()}"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()