Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,3 +18,10 @@ To get started with a new app do the following:
|
|
| 18 |
3) Then run the app with `shiny run --reload`
|
| 19 |
|
| 20 |
To learn more about this framework please see the [Documentation](https://shiny.rstudio.com/py/docs/overview.html).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
3) Then run the app with `shiny run --reload`
|
| 19 |
|
| 20 |
To learn more about this framework please see the [Documentation](https://shiny.rstudio.com/py/docs/overview.html).
|
| 21 |
+
import gradio as gr
|
| 22 |
+
|
| 23 |
+
def echo(message, history):
|
| 24 |
+
return message
|
| 25 |
+
|
| 26 |
+
demo = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
| 27 |
+
demo.launch()
|