joys631 commited on
Commit
8f9d959
·
verified ·
1 Parent(s): 775cc38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
1
  import gradio as gr
2
 
3
- gr.load("models/allenai/cosmo-xl").launch()
 
 
 
 
 
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()