wfranco's picture
update app.py
96f46f4
raw
history blame
455 Bytes
#!pip install gradio
import gradio as gra
def user_greeting(name):
return "Hi! " + name + " Welcome to your first Gradio application!😎"
#define gradio interface and other parameters
app = gra.Interface(fn = user_greeting, inputs="text", outputs="text")
app.launch()
demo = gr.Interface(
fn=generate_audio_func,
inputs=input_component,
outputs=output_component,
title=app_name,
description=app_description
)
demo.launch()