Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
dimitriuska
/
demo_ai
like
0
Runtime error
App
Files
Files
Community
676f488
demo_ai
/
app.py
dimitriuska
Create app.py
676f488
verified
10 months ago
raw
Copy download link
history
blame
Safe
218 Bytes
import
gradio
as
gr
def
greet
(
name, intensity
):
return
"Hello "
* intensity + name +
"!"
ui = gr.Interface(
fn=greet,
inputs=[
"text"
,
"slider"
],
outputs=[
"text"
],
)
#ui.launch(share=True)
ui.launch()