Himanshusingh commited on
Commit
29c5704
1 Parent(s): 7af1a44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,10 +1,10 @@
1
- import gradio as gr
2
 
3
  def my_inference_function(name):
4
  return "Hello " + name + "!"
5
 
6
- gr_interface = gr.Interface(
7
- fn = "my_inference_function",
8
  inputs = "text",
9
  outputs = "text"
10
  )
 
1
+ import gradio
2
 
3
  def my_inference_function(name):
4
  return "Hello " + name + "!"
5
 
6
+ gr_interface = gradio.Interface(
7
+ fn = my_inference_function,
8
  inputs = "text",
9
  outputs = "text"
10
  )