Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tommy24
/
cool
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
cool
/
app.py
tommy24
Update app.py
7a88080
about 3 years ago
raw
Copy download link
history
blame
contribute
delete
197 Bytes
import
gradio
as
gr
import
os
key = os.environ.get(
"var"
)
# text = "it works!"
def
function
(
str
):
return
key
iface = gr.Interface(fn=function, inputs=
"text"
, outputs=
"text"
)
iface.launch()