acbdkk commited on
Commit
83b751b
1 Parent(s): b7c5b76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ formatted_prompt = (
12
  )
13
 
14
 
15
- sequences = pipeline(formatted_prompt,do_sample=True,top_k=50,top_p = 0.7,num_return_sequences=1,repetition_penalty=1.1,max_new_tokens=500,torch_dtype=torch.bfloat16)
16
  for seq in sequences:
17
  st.write(f"Result: {seq['generated_text']}")
18
 
 
12
  )
13
 
14
 
15
+ sequences = pipeline(formatted_prompt,do_sample=True,top_k=50,top_p = 0.7,num_return_sequences=1,repetition_penalty=1.1,max_new_tokens=500)
16
  for seq in sequences:
17
  st.write(f"Result: {seq['generated_text']}")
18