File size: 254 Bytes
abc4331
 
bfeb827
abc4331
bfeb827
abc4331
 
 
bfeb827
1
2
3
4
5
6
7
8
9
10
import gradio as gr

def chat(message, history):
    history = history or []
    response = f"Gemini 回應你:{message}"
    history.append((message, response))
    return history, history

gr.ChatInterface(chat, title="B10090087 張嘉峻").launch()