Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ def generate_text(df, country, theme):
|
|
273 |
|
274 |
|
275 |
# Generate the descriptive text using the model
|
276 |
-
result = table_to_text(prompt, max_length=200, 0.3, top_p = 0.6, do_sample=True)[0]['generated_text']
|
277 |
|
278 |
return result
|
279 |
# Global variable
|
|
|
273 |
|
274 |
|
275 |
# Generate the descriptive text using the model
|
276 |
+
result = table_to_text(prompt, max_length=200, temperature=0.3, top_p = 0.6, do_sample=True)[0]['generated_text']
|
277 |
|
278 |
return result
|
279 |
# Global variable
|