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()