ginipick commited on
Commit
11034e2
Β·
verified Β·
1 Parent(s): f0d0d46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -8,7 +8,7 @@ import time
8
  import spaces
9
 
10
  # --- μ„€μ • ---
11
- MODEL_ID = "XiaomiMiMo/MiMo-7B-RL"
12
  MAX_NEW_TOKENS = 512
13
  CPU_THREAD_COUNT = 4 # ν•„μš”μ‹œ 쑰절
14
 
@@ -85,7 +85,6 @@ except Exception as e:
85
  def get_system_prompt():
86
  current_date = datetime.datetime.now().strftime("%Y-%m-%d (%A)")
87
  return (
88
- f"- AI μ–Έμ–΄λͺ¨λΈμ˜ 이름은 \"MiMo\"이며 XiaomiMiMoμ—μ„œ λ§Œλ“€μ—ˆμŠ΅λ‹ˆλ‹€.\n"
89
  f"- μ˜€λŠ˜μ€ {current_date}μž…λ‹ˆλ‹€.\n"
90
  f"- μ‚¬μš©μžμ˜ μ§ˆλ¬Έμ— λŒ€ν•΄ μΉœμ ˆν•˜κ³  μžμ„Έν•˜κ²Œ ν•œκ΅­μ–΄λ‘œ λ‹΅λ³€ν•΄μ•Ό ν•©λ‹ˆλ‹€."
91
  )
@@ -139,7 +138,7 @@ def warmup_model():
139
  @spaces.GPU()
140
  def predict(message, history):
141
  """
142
- XiaomiMiMo/MiMo-7B-RL λͺ¨λΈμ„ μ‚¬μš©ν•˜μ—¬ 응닡을 μƒμ„±ν•©λ‹ˆλ‹€.
143
  'history'λŠ” Gradio 'messages' ν˜•μ‹μ„ κ°€μ •ν•©λ‹ˆλ‹€: List[Dict].
144
  """
145
  if model is None or tokenizer is None:
 
8
  import spaces
9
 
10
  # --- μ„€μ • ---
11
+ MODEL_ID = "HyperCLOVAX-SEED-Vision-Instruct-3B"
12
  MAX_NEW_TOKENS = 512
13
  CPU_THREAD_COUNT = 4 # ν•„μš”μ‹œ 쑰절
14
 
 
85
  def get_system_prompt():
86
  current_date = datetime.datetime.now().strftime("%Y-%m-%d (%A)")
87
  return (
 
88
  f"- μ˜€λŠ˜μ€ {current_date}μž…λ‹ˆλ‹€.\n"
89
  f"- μ‚¬μš©μžμ˜ μ§ˆλ¬Έμ— λŒ€ν•΄ μΉœμ ˆν•˜κ³  μžμ„Έν•˜κ²Œ ν•œκ΅­μ–΄λ‘œ λ‹΅λ³€ν•΄μ•Ό ν•©λ‹ˆλ‹€."
90
  )
 
138
  @spaces.GPU()
139
  def predict(message, history):
140
  """
141
+ HyperCLOVAX-SEED-Vision-Instruct-3B λͺ¨λΈμ„ μ‚¬μš©ν•˜μ—¬ 응닡을 μƒμ„±ν•©λ‹ˆλ‹€.
142
  'history'λŠ” Gradio 'messages' ν˜•μ‹μ„ κ°€μ •ν•©λ‹ˆλ‹€: List[Dict].
143
  """
144
  if model is None or tokenizer is None: