Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jph00
/
test0723
like
0
Runtime error
App
Files
Files
Community
main
test0723
/
app.py
jph00
Update app.py
c637d22
over 2 years ago
raw
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()