Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
·
06b31f0
1
Parent(s):
e9d7ce9
Update example inputs
Browse files
app.py
CHANGED
|
@@ -259,7 +259,7 @@ css = """
|
|
| 259 |
border: none !important;
|
| 260 |
}
|
| 261 |
.disclaimer {font-variant-caps: all-small-caps; font-size: xx-small;}
|
| 262 |
-
.
|
| 263 |
"""
|
| 264 |
|
| 265 |
with gr.Blocks(
|
|
@@ -274,11 +274,11 @@ with gr.Blocks(
|
|
| 274 |
gr.Markdown(
|
| 275 |
"""<h4><center>mpt-30b-ggml-chat</center></h4>
|
| 276 |
|
| 277 |
-
This demo is of [TheBloke/mpt-30B-chat-GGML](TheBloke/mpt-30B-chat-GGML.
|
| 278 |
|
| 279 |
-
It takes about >40 seconds to get a response. Restarting the space takes about 5 minutes if the space is asleep due to inactivity.
|
| 280 |
""",
|
| 281 |
-
elem_classes="
|
| 282 |
)
|
| 283 |
conversation = Chat()
|
| 284 |
chatbot = gr.Chatbot().style(height=700) # 500
|
|
@@ -291,7 +291,7 @@ with gr.Blocks(
|
|
| 291 |
).style(container=False)
|
| 292 |
with gr.Column():
|
| 293 |
with gr.Row():
|
| 294 |
-
submit = gr.Button("Submit")
|
| 295 |
stop = gr.Button("Stop", visible=False)
|
| 296 |
clear = gr.Button("Clear", visible=False)
|
| 297 |
with gr.Row(visible=False):
|
|
|
|
| 259 |
border: none !important;
|
| 260 |
}
|
| 261 |
.disclaimer {font-variant-caps: all-small-caps; font-size: xx-small;}
|
| 262 |
+
.xsmall {font-size: x-small;}
|
| 263 |
"""
|
| 264 |
|
| 265 |
with gr.Blocks(
|
|
|
|
| 274 |
gr.Markdown(
|
| 275 |
"""<h4><center>mpt-30b-ggml-chat</center></h4>
|
| 276 |
|
| 277 |
+
This demo is of [TheBloke/mpt-30B-chat-GGML](https://huggingface.co/TheBloke/mpt-30B-chat-GGML).
|
| 278 |
|
| 279 |
+
It takes about >40 seconds to get a response. Restarting the space takes about 5 minutes if the space is asleep due to inactivity. If the space crashes for some reason, it will also take about 5 minutes to restart. You need to refresh the browser to reload the new space.
|
| 280 |
""",
|
| 281 |
+
elem_classes="xsmall"
|
| 282 |
)
|
| 283 |
conversation = Chat()
|
| 284 |
chatbot = gr.Chatbot().style(height=700) # 500
|
|
|
|
| 291 |
).style(container=False)
|
| 292 |
with gr.Column():
|
| 293 |
with gr.Row():
|
| 294 |
+
submit = gr.Button("Submit", elem_classes="xsmall")
|
| 295 |
stop = gr.Button("Stop", visible=False)
|
| 296 |
clear = gr.Button("Clear", visible=False)
|
| 297 |
with gr.Row(visible=False):
|