Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
Β·
5b46843
1
Parent(s):
1a8bf1d
Update {mode_name} in info
Browse files
app.py
CHANGED
|
@@ -27,8 +27,8 @@ except Exception:
|
|
| 27 |
# Windows
|
| 28 |
logger.warning("Windows, cant run time.tzset()")
|
| 29 |
|
| 30 |
-
model_name = "THUDM/chatglm2-6b"
|
| 31 |
-
|
| 32 |
|
| 33 |
RETRY_FLAG = False
|
| 34 |
|
|
@@ -207,8 +207,8 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm")) a
|
|
| 207 |
)
|
| 208 |
|
| 209 |
with gr.Accordion("π Info", open=False):
|
| 210 |
-
_ = """
|
| 211 |
-
##
|
| 212 |
|
| 213 |
Try to refresh the browser and try again when occasionally an error occurs.
|
| 214 |
|
|
|
|
| 27 |
# Windows
|
| 28 |
logger.warning("Windows, cant run time.tzset()")
|
| 29 |
|
| 30 |
+
# model_name = "THUDM/chatglm2-6b"
|
| 31 |
+
model_name = "THUDM/chatglm2-6b-int4"
|
| 32 |
|
| 33 |
RETRY_FLAG = False
|
| 34 |
|
|
|
|
| 207 |
)
|
| 208 |
|
| 209 |
with gr.Accordion("π Info", open=False):
|
| 210 |
+
_ = f"""
|
| 211 |
+
## {model_name}
|
| 212 |
|
| 213 |
Try to refresh the browser and try again when occasionally an error occurs.
|
| 214 |
|