Spaces:
Runtime error
Runtime error
Peter
commited on
Commit
·
844f20c
1
Parent(s):
a021334
:construction: update default model
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def get_parser():
|
|
144 |
"--model",
|
145 |
required=False,
|
146 |
type=str,
|
147 |
-
default="
|
148 |
help="the model to use for the chatbot on https://huggingface.co/models OR a path to a local model",
|
149 |
)
|
150 |
parser.add_argument(
|
@@ -191,7 +191,7 @@ if __name__ == "__main__":
|
|
191 |
chat,
|
192 |
inputs=["text"],
|
193 |
outputs="html",
|
194 |
-
examples_per_page=
|
195 |
examples=[
|
196 |
"How can you help me?",
|
197 |
"what can you do?",
|
|
|
144 |
"--model",
|
145 |
required=False,
|
146 |
type=str,
|
147 |
+
default="ethzanalytics/ai-msgbot-gpt2-XL-dialogue", # default model
|
148 |
help="the model to use for the chatbot on https://huggingface.co/models OR a path to a local model",
|
149 |
)
|
150 |
parser.add_argument(
|
|
|
191 |
chat,
|
192 |
inputs=["text"],
|
193 |
outputs="html",
|
194 |
+
examples_per_page=12,
|
195 |
examples=[
|
196 |
"How can you help me?",
|
197 |
"what can you do?",
|