SmilingTree commited on
Commit
b545f08
·
verified ·
1 Parent(s): 933f185

try new model TheBloke/WizardLM-Uncensored-SuperCOT-StoryTelling-30B-SuperHOT-8K-GPTQ

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipeline = pipeline("text-generation")
 
5
 
6
  def text_generate(input_text):
7
  result = pipeline(input_text)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ # pipeline = pipeline("text-generation")
5
+ pipeline = pipeline("text-generation", model="TheBloke/WizardLM-Uncensored-SuperCOT-StoryTelling-30B-SuperHOT-8K-GPTQ", trust_remote_code=True)
6
 
7
  def text_generate(input_text):
8
  result = pipeline(input_text)