Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
#import gradio as gr
|
2 |
+
|
3 |
+
#gr.load("models/allenai/cosmo-xl")
|
4 |
+
|
5 |
import gradio as gr
|
6 |
|
7 |
+
def echo(message, history):
|
8 |
+
return message
|
9 |
+
|
10 |
+
demo = gr.ChatInterface(fn=echo, additional_inputs=[gr.Textbox(label="Situation"), gr.Textbox(label="Instructions")], examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
11 |
+
demo.launch()
|