Spaces:
Paused
Paused
| import gradio as gr | |
| def hello(name): | |
| if not name: | |
| return "Bir isim gir!" | |
| return f"Merhaba {name}! Bu Space hiçbir model kullanmıyor." | |
| with gr.Blocks() as demo: | |
| gr.Markdown("# 🔥 Sıfır Model Space\nTamamen bağımsız çalışır.") | |
| name = gr.Textbox(label="İsim gir") | |
| btn = gr.Button("Gönder") | |
| output = gr.Textbox(label="Cevap") | |
| btn.click(hello, inputs=name, outputs=output) | |
| demo.launch() |