Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -71,8 +71,8 @@ h1 {
|
|
71 |
|
72 |
if cfg.examples:
|
73 |
app_examples = [example.strip() for example in cfg.examples.split(",")]
|
74 |
-
|
75 |
-
|
76 |
|
77 |
demo = gr.ChatInterface(respond, description = cfg.description, css = css,
|
78 |
chatbot = gr.Chatbot(value = [[None, "How may I help you?"]]), examples = app_examples)
|
|
|
71 |
|
72 |
if cfg.examples:
|
73 |
app_examples = [example.strip() for example in cfg.examples.split(",")]
|
74 |
+
else:
|
75 |
+
app_examples = None
|
76 |
|
77 |
demo = gr.ChatInterface(respond, description = cfg.description, css = css,
|
78 |
chatbot = gr.Chatbot(value = [[None, "How may I help you?"]]), examples = app_examples)
|