Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| GK=0 | |
| def greet(name): | |
| global GK | |
| GK+=1 | |
| return f"namber is {GK}" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch() | |