Spaces:
Runtime error
Runtime error
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() |