elonmuskceo commited on
Commit
997300a
1 Parent(s): ffea8f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -7,3 +7,16 @@ print("Sparknlp Version: " + sparknlp.version())
7
  spark = sparknlp.start()
8
 
9
  print(spark)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  spark = sparknlp.start()
8
 
9
  print(spark)
10
+
11
+ def greet(name):
12
+ return "Hello " + name + "!!"
13
+
14
+ iface = gr.Interface(
15
+ fn=greet,
16
+ inputs="text",
17
+ outputs="text",
18
+ description=f"Spark object: {spark}",
19
+ )
20
+
21
+ if __name__ == "__main__":
22
+ iface.launch()