nangunan commited on
Commit
6fc3254
ยท
1 Parent(s): b61dd6c

Add application file

Browse files
Files changed (1) hide show
  1. askme.py +24 -0
askme.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ์งˆ๋ฌธ์„ ์ž…๋ ฅํ•˜๋ฉด ๋‹ต๋ณ€์„ ์ œ๊ณตํ•  ๊ฒƒ ๊ฐ™๋‹ˆ? <b><span style="color:red;">ใ…‹ใ…‹ใ…‹</span></b><br>
13
+ <img src="https://item.kakaocdn.net/do/6b1f24ac76c95d91694c6acb99813fccf43ad912ad8dd55b04db6a64cddaf76d"
14
+ alt="์ด๋ฏธ์ง€" width="200">
15
+ """,
16
+ examples=[
17
+ ["์˜ค๋Š˜ ๋‚ ์”จ ์–ด๋•Œ?"],
18
+ ["์ธ๊ณต์ง€๋Šฅ์ด ๋ญ์•ผ?"],
19
+ ["ํŒŒ์ด์ฌ์€ ์–ด๋–ค ์–ธ์–ด์•ผ?"],
20
+ ["๊ทธ๋ƒฅ ์•„๋ฌด๊ฑฐ๋‚˜ ๋ฌผ์–ด๋ด"]
21
+ ]
22
+ )
23
+
24
+ demo.launch(share=True)