Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ topic = st.text_area("Enter your desired Topic of Blog")
|
|
17 |
|
18 |
if topic:
|
19 |
# Configurations
|
20 |
-
# generation_config = GenerationConfig(max_new_tokens=
|
21 |
generation_config = GenerationConfig(max_new_tokens=50)
|
22 |
|
23 |
# Encode input:
|
|
|
17 |
|
18 |
if topic:
|
19 |
# Configurations
|
20 |
+
# generation_config = GenerationConfig(max_new_tokens=1000, do_sample=True, temperature=0.7)
|
21 |
generation_config = GenerationConfig(max_new_tokens=50)
|
22 |
|
23 |
# Encode input:
|