inLine-XJY commited on
Commit
182f579
1 Parent(s): ff6f6e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -1,3 +1,11 @@
1
- import gradio as gr
2
 
3
- gr.load("models/inLine-XJY/test").launch()
 
 
 
 
 
 
 
 
 
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()