Spaces:
Sleeping
Sleeping
Download app.py from nathanjames/ai-computer: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/spaces/nathanjames/ai-computer/resolve/main/app.py
- Command line
-
hf download hf://spaces/nathanjames/ai-computer/app.py
-
curl -L -o app.py https://huggingface.co/spaces/nathanjames/ai-computer/resolve/main/app.py
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() |