Spaces:
Build error
Build error
File size: 351 Bytes
063f4f5 174d358 063f4f5 174d358 063f4f5 174d358 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
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()
|