Spaces:
Runtime error
Runtime error
File size: 455 Bytes
1d37909 96f46f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#!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() |