Spaces:
Runtime error
Runtime error
File size: 466 Bytes
5cd26f2 a28d758 5cd26f2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
import disease
def user_greeting(question):
response = disease.fun_invoke(question)
return response
app = gr.Interface(
fn=user_greeting, # ํจ์ ์ฐ๊ฒฐ
inputs="text", # ์
๋ ฅ ํ์
outputs="text", # ์ถ๋ ฅ ํ์
title="์ง๋ณ ์ง๋จ ์ด์์คํดํธ", # ์ ๋ชฉ ์ค์
description="์ง๋ฌธ์ ์
๋ ฅํ๋ฉด ๊ด๋ จ๋ ์ง๋ณ ์ ๋ณด๋ฅผ ์๋ ค์ค๋๋ค.", # ์ค๋ช
)
if __name__ == "__main__":
app.launch() |