Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
return "
|
| 5 |
|
| 6 |
-
demo = gr.Interface(fn=
|
| 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()
|