yeonsoo
commited on
Commit
ยท
45e28c9
1
Parent(s):
606ea90
dif
Browse files
app.py
CHANGED
@@ -1 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
gr.close_all() # ํน์ ์ด์ ์ธ์คํด์ค๊ฐ ๋จ์์์ ๊ฒฝ์ฐ ๋ซ๊ธฐ
|
4 |
+
|
5 |
+
def greet(name):
|
6 |
+
print(f"์
๋ ฅ๋ ์ด๋ฆ: {name}") # ๋๋ฒ๊น
์ฉ
|
7 |
+
return "Hello " + name + "!!"
|
8 |
+
|
9 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
+
demo.launch(server_name="0.0.0.0", server_port=7680, debug=True,share=True)
|
test.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
print("test")
|
test2.py
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
|
3 |
-
gr.close_all() # ํน์ ์ด์ ์ธ์คํด์ค๊ฐ ๋จ์์์ ๊ฒฝ์ฐ ๋ซ๊ธฐ
|
4 |
-
|
5 |
-
def greet(name):
|
6 |
-
print(f"์
๋ ฅ๋ ์ด๋ฆ: {name}") # ๋๋ฒ๊น
์ฉ
|
7 |
-
return "Hello " + name + "!!"
|
8 |
-
|
9 |
-
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
-
demo.launch(server_name="0.0.0.0", server_port=7680, debug=True,share=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|