cbensimon HF Staff commited on
Commit
8a6f8f0
·
1 Parent(s): d71a37b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,12 +1,15 @@
1
  import gradio as gr
2
  from gradio.inputs import Textbox
3
  from gradio.outputs import Textbox as TextOutput
 
4
  def process(text):
5
- return f'v5 Hi {text}'
 
6
  interface = gr.Interface(
7
  fn=process,
8
  inputs=[Textbox()],
9
  outputs=[TextOutput()],
10
  theme='huggingface',
11
  )
12
- interface.launch()
 
 
1
  import gradio as gr
2
  from gradio.inputs import Textbox
3
  from gradio.outputs import Textbox as TextOutput
4
+
5
  def process(text):
6
+ return f'Hi {text}'
7
+
8
  interface = gr.Interface(
9
  fn=process,
10
  inputs=[Textbox()],
11
  outputs=[TextOutput()],
12
  theme='huggingface',
13
  )
14
+
15
+ interface.launch()