Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,4 +66,12 @@ agent = CodeAgent(
|
|
| 66 |
)
|
| 67 |
|
| 68 |
|
| 69 |
-
GradioUI(agent).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
)
|
| 67 |
|
| 68 |
|
| 69 |
+
GradioUI(agent).launch()
|
| 70 |
+
|
| 71 |
+
import gradio as gr
|
| 72 |
+
|
| 73 |
+
def test_fn(message):
|
| 74 |
+
return f"Tu as écrit : {message}"
|
| 75 |
+
|
| 76 |
+
demo = gr.Interface(fn=test_fn, inputs="textbox", outputs="textbox")
|
| 77 |
+
demo.launch()
|