Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# ์
๋ ฅ์ 'world'๋ฅผ ์ถ๊ฐํ๋ ํจ์
|
4 |
+
def add_world(input_text):
|
5 |
+
return input_text + " world"
|
6 |
+
|
7 |
+
# Gradio ์ธํฐํ์ด์ค ์ค์
|
8 |
+
iface = gr.Interface(fn=add_world, inputs="text", outputs="text", title="Hello to World")
|
9 |
+
|
10 |
+
# ์ธํฐํ์ด์ค ์คํ
|
11 |
+
iface.launch()
|