Spaces:
Sleeping
Sleeping
import gradio as gr | |
# μ λ ₯μ 'world'λ₯Ό μΆκ°νλ ν¨μ | |
def add_world(input_text): | |
return input_text + " world" | |
# Gradio μΈν°νμ΄μ€ μ€μ | |
iface = gr.Interface(fn=add_world, inputs="text", outputs="text", title="Hello to World") | |
# μΈν°νμ΄μ€ μ€ν | |
iface.launch() | |