thepianist9 commited on
Commit
bad4f96
·
verified ·
1 Parent(s): a1ffcaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -596,7 +596,7 @@ if __name__ == "__main__":
596
  # llm = LLM(mode='offline').init_model('Linly', 'Linly-AI/Chinese-LLaMA-2-7B-hf')
597
  # llm = LLM(mode='offline').init_model('Gemini', 'gemini-pro', api_key = "your api key")
598
  # llm = LLM(mode='offline').init_model('Qwen', 'Qwen/Qwen-1_8B-Chat')
599
- llm = LLM(mode='api').init_model('Qwen', 'Qwen/Qwen-1_8B-Chat')
600
  try:
601
  talker = SadTalker(lazy_load=True)
602
  except Exception as e:
 
596
  # llm = LLM(mode='offline').init_model('Linly', 'Linly-AI/Chinese-LLaMA-2-7B-hf')
597
  # llm = LLM(mode='offline').init_model('Gemini', 'gemini-pro', api_key = "your api key")
598
  # llm = LLM(mode='offline').init_model('Qwen', 'Qwen/Qwen-1_8B-Chat')
599
+ llm = LLM(mode='offline').init_model('Qwen', 'Qwen/Qwen-1_8B-Chat')
600
  try:
601
  talker = SadTalker(lazy_load=True)
602
  except Exception as e: