Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
wasmdashai
/
RunTasking
like
5
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
wasmdashai
commited on
Aug 15, 2024
Commit
d85e329
·
verified
·
1 Parent(s):
ebde161
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+10
-0
app.py
ADDED
Viewed
@@ -0,0 +1,10 @@
1
+
import gradio as gr
2
+
GK=0
3
+
4
+
def greet(name):
5
+
global GK
6
+
GK+=1
7
+
return f"namber is {GK}"
8
+
9
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
10
+
demo.launch()