File size: 333 Bytes
9132435
63c675c
9132435
 
973f2d8
2b0dfdb
973f2d8
9132435
 
 
a1caeb6
 
 
 
9132435
 
 
2b0dfdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr
import spaces


@spaces.GPU
def respond(message, history):
    return "Toujours le même refrain"


chatbot = gr.ChatInterface(
    fn=respond,
    save_history=True,
    examples=["What can u do for me ?", "Who is the prettiest ?"],
    title="My awesome app",
)

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