File size: 256 Bytes
4cb26d4
 
873f88a
334b123
 
 
 
 
4cb26d4
e1596df
4cb26d4
334b123
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

def respond(message, _):
    content = "์•ต๋ฌด์ƒˆ: " + message
    response = ""
    for token in content:
        response += token
        yield response

demo = gr.ChatInterface(respond)

if __name__ == "__main__":
    demo.launch()