ChatBot / app.py
chiachun1224's picture
Rename gemini_simple.py to app.py
69e7c5d verified
raw
history blame contribute delete
254 Bytes
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()