왓슨 기초

This commit is contained in:
Mingu Kim
2026-05-26 22:08:02 +09:00
parent 8a18105599
commit a1cb6fcdf9
26 changed files with 3921 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import gradio as gr
def greet(name):
return "Hello " + name + "!"
with gr.Blocks() as demo:
with gr.Row():
name = gr.Textbox(label="Name")
output = gr.Textbox(label="Output Box")
greet_btn = gr.Button("Greet")
greet_btn.click(fn=greet, inputs=name, outputs=output, api_name="greet")
demo.launch()