Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.
|
167 |
with gr.Tab("malaysia"):
|
168 |
-
gr.Examples(["hola"],inputs=demo.
|
169 |
with gr.Tab("cantonese"):
|
170 |
-
gr.Examples(["merhaba"],inputs=demo.
|
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()
|