ffreemt commited on
Commit
5b46843
β€’
1 Parent(s): 1a8bf1d

Update {mode_name} in info

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- # model_name = "THUDM/chatglm2-6b-int4"
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
- ## ChatGLM2-6B-int4
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