tonyassi commited on
Commit
27c78c7
·
1 Parent(s): 1163202

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import gradio as gr
2
 
 
3
  def greet(description,color):
 
4
  print(color)
5
- return description
6
 
7
  iface = gr.Interface(fn=greet,
8
  inputs=[gr.Textbox(label='Description'),
 
1
  import gradio as gr
2
 
3
+
4
  def greet(description,color):
5
+ final = description.replace(' ', '-')
6
  print(color)
7
+ return final
8
 
9
  iface = gr.Interface(fn=greet,
10
  inputs=[gr.Textbox(label='Description'),