Update app.py
Browse files
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
|
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 |
|