richardprobe commited on
Commit
cb206a1
·
verified ·
1 Parent(s): bbb368e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import time
3
+
4
+ def replace(text):
5
+ return text.replace('World', 'Databricks')
6
+
7
+ gr.Interface(fn=replace,
8
+ inputs='textbox',
9
+ outputs='textbox').launch(share=True);