Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def greet(name): | |
| return f"Привет, {name}! Это динамический результат." | |
| demo = gr.Interface( | |
| fn=greet, | |
| inputs="text", | |
| outputs="text", | |
| title="Приветствие от Gradio", | |
| description="Введи своё имя, чтобы получить приветствие!" | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() |