Download app.py from cortex-ai-nova/nova-models-playground: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/cortex-ai-nova/nova-models-playground/resolve/main/app.py
- Command line
-
hf download hf://spaces/cortex-ai-nova/nova-models-playground/app.py
-
curl -L -o app.py https://huggingface.co/spaces/cortex-ai-nova/nova-models-playground/resolve/main/app.py
409 Bytes
| import gradio as gr | |
| def respond(message, history): | |
| return f"Привет! Это NOVA Models Playground. Вы написали: {message}" | |
| # Простой тестовый интерфейс | |
| demo = gr.ChatInterface( | |
| fn=respond, | |
| title="✨ NOVA Models Playground", | |
| description="Интерфейс для работы с моделями NOVA" | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |