Nadil Karunarathna commited on
Commit
faa4aa2
·
1 Parent(s): 699251d
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,10 +1,14 @@
1
  import gradio as gr
2
 
 
 
3
  def init():
 
 
4
  print("Model or environment initialized.")
5
 
6
  def correct(name):
7
- return "Hello " + name + "!!"
8
 
9
  init()
10
 
 
1
  import gradio as gr
2
 
3
+ x = ''
4
+
5
  def init():
6
+ global x
7
+ x = 'Karu'
8
  print("Model or environment initialized.")
9
 
10
  def correct(name):
11
+ return "Hello " + name + x + "!!"
12
 
13
  init()
14