import gradio as gr def answer_question(question): # 여기에 질문에 대한 답변 로직을 구현합니다. # 예시로 간단한 답변을 반환합니다. return f"몰라요" demo = gr.Interface( fn = answer_question, inputs = "text", outputs = "text", title="무엇이든 물어보소, 내가 아냐?", description="질문을 입력하면 답변을 제공할 것 같니? span style=\"color:red,\">ㅋㅋㅋ", examples=[ ["오늘 날씨 어떄?"], ["인공지능이 뭐야?"], ["파이썬은 어던 언어야?"], ["그냥 아무거나 물어봐"] ] ) demo.launch(share=True)