ai-computer / app.py
nathanjames's picture
Create app.py
0fec0aa verified
Raw
History Blame
472 Bytes
import gradio as gr
def ai_computer_chat(mensahe, kasaysayan):
tugon = f"Kamusta! Ako ang Nathan James Barola AI Computer. Natanggap ko ang mensahe mo: '{mensahe}'"
return tugon
demo = gr.ChatInterface(
fn=ai_computer_chat,
title="🤖 Nathan James Barola AI Computer",
description="Welcome sa aking opisyal na AI Computer!",
examples=["Kamusta Nathan James Barola AI!", "Ano ang kaya mong gawin?"]
)
if __name__ == "__main__":
demo.launch()