gregH commited on
Commit
c82ee49
1 Parent(s): be68262

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -163,9 +163,9 @@ def chat(message, history):
163
  #demo = gr.ChatInterface(fn=chat, examples=["hello", "hola", "merhaba"], title="Gradient Cuff Vicuna-7B-V1.5")
164
  with gr.ChatInterface(fn=chat, title="Gradient Cuff Vicuna-7B-V1.5") as demo:
165
  with gr.Tab("english"):
166
- gr.Examples(["hello"],inputs=demo.inputs)
167
  with gr.Tab("malaysia"):
168
- gr.Examples(["hola"],inputs=demo.inputs)
169
  with gr.Tab("cantonese"):
170
- gr.Examples(["merhaba"],inputs=demo.inputs)
171
  demo.launch()
 
163
  #demo = gr.ChatInterface(fn=chat, examples=["hello", "hola", "merhaba"], title="Gradient Cuff Vicuna-7B-V1.5")
164
  with gr.ChatInterface(fn=chat, title="Gradient Cuff Vicuna-7B-V1.5") as demo:
165
  with gr.Tab("english"):
166
+ gr.Examples(["hello"],inputs=demo.textbox)
167
  with gr.Tab("malaysia"):
168
+ gr.Examples(["hola"],inputs=demo.textbox)
169
  with gr.Tab("cantonese"):
170
+ gr.Examples(["merhaba"],inputs=demo.textbox)
171
  demo.launch()