Spaces:
Runtime error
Runtime error
aus10powell
commited on
Commit
•
07e5e14
1
Parent(s):
7f017b6
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio
|
2 |
+
|
3 |
+
def my_inference_function(name):
|
4 |
+
return "Hello " + name + "!"
|
5 |
+
|
6 |
+
gradio_interface = gradio.Interface(
|
7 |
+
fn = my_inference_function,
|
8 |
+
inputs = "text",
|
9 |
+
outputs = "text"
|
10 |
+
)
|
11 |
+
gradio_interface.launch()
|