Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
jph00
/
test0723
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test0723
/
app.py
jph00
Update app.py
c637d22
almost 4 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
217 Bytes
import
gradio
as
gr
from
fastcore.
all
import
*
def
greet
(
name
):
return
f'
{Path().ls()}
{os.getcwd()}
'
@call_parse
def
main
():
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()