Smartpower001 commited on
Commit
0f6f3a7
·
verified ·
1 Parent(s): 58f1f7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
 
6
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- demo.launch()
 
1
  import gradio as gr
2
 
3
+ def coder_bot(instruction):
4
+ return "Your AI Coder Bot received: " + instruction + "\n(Real code generation coming in next step!)"
5
 
6
+ demo = gr.Interface(fn=coder_bot, inputs="text", outputs="text")
7
+ demo.launch()