Thiwanka01 commited on
Commit
304bf5c
·
verified ·
1 Parent(s): bd71755

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def interface(name, intensity):
4
+
5
+ # Create Interface Gradio
6
+ demo = gr.Interface(
7
+ fn = interface,
8
+ inputs = ["text", "slider"],
9
+ outputs = ["text"],
10
+ )
11
+
12
+ demo.launch()