import gradio as gr from huggingface_hub import InferenceClient client = InferenceClient("deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct") def chat(message, history): response = client.text_generation(message, max_new_tokens=512, temperature=0.7) return response gr.ChatInterface( fn=chat, title="Chimera AI", description="あなただけのAIアシスタント" ).launch()