nick-leland's picture
Continued to work on app
063f4f5
raw
history blame
351 Bytes
import numpy as np
import gradio as gr
from DistortionML.effect import distort_generation
def greet(name):
return "Hello " + name + "!!"
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs="text"
)
# Currently working through https://www.gradio.app/main/guies/the-interface-class
demo.launch()