Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ain3007-project
/
model-inference
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
68ba513
model-inference
/
app.py
osbm
Update app.py
68ba513
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
226 Bytes
import
gradio
as
gr
import
monai
import
torch
def
greet
(
name, intensity
):
return
"Hello "
* intensity + name +
"!"
demo = gr.Interface(
fn=greet,
inputs=[
"text"
,
"slider"
],
outputs=[
"text"
],
)
demo.launch()