hs32134 commited on
Commit
a4355eb
ยท
1 Parent(s): 20919ab

Update space

Browse files
Files changed (1) hide show
  1. askme.py +17 -0
askme.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def answer_question(question):
4
+ return f"๋ชฐ๋ผ์š”"
5
+
6
+ demo = gr.Interface(
7
+ fn = answer_question,
8
+ inputs = "text",
9
+ outputs = "text",
10
+ title = "๋ฌด์—‡์ด๋“  ๋ฌผ์–ด๋ณด์†Œ, ๋‚ด๊ฐ€ ์•„๋‚˜?",
11
+ description = "์งˆ๋ฌธ์„ ์ž…๋ ฅํ•˜๋ฉด ๋‹ต๋ณ€์„ ์ œ๊ณตํ•  ๊ฒƒ ๊ฐ™๋‹ˆ?ใ…‹ใ…‹ใ…‹",
12
+ examples = [
13
+ ["์˜ค๋Š˜ ๋‚ ์”จ ์–ด๋•Œ?"],
14
+ ["์ธ๊ณต์ง€๋Šฅ์ด ๋ญ์•ผ?"]
15
+ ]
16
+ )
17
+ demo.launch(share = True)