Spaces:
Runtime error
Runtime error
#!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() |