| import gradio as gr | |
| def answer_question(question): | |
| return f"๋ชฐ๋ผ์" | |
| demo = gr.Interface( | |
| fn = answer_question, | |
| inputs = "text", | |
| outputs = "text", | |
| title = "๋ฌด์์ด๋ ๋ฌผ์ด๋ณด์, ๋ด๊ฐ ์๋?", | |
| description = "์ง๋ฌธ์ ์ ๋ ฅํ๋ฉด ๋ต๋ณ์ ์ ๊ณตํ ๊ฒ ๊ฐ๋?ใ ใ ใ ", | |
| examples = [ | |
| ["์ค๋ ๋ ์จ ์ด๋?"], | |
| ["์ธ๊ณต์ง๋ฅ์ด ๋ญ์ผ?"] | |
| ] | |
| ) | |
| demo.launch(share = True) |