JohanBeytell commited on
Commit
9a02502
·
verified ·
1 Parent(s): 23126a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def generate_names(prompt, temperature, top_k, count, retries, seed, randomize_s
113
  df[["Generated Name"]].to_csv(file_path, index=False, header=False)
114
 
115
  retry_report = f"## Debug Report\n\n- **Total Retries:** {retry_count - len(results)}\n- **Seed Used:** {seed}\n- **Average Sample Time:** {sum(timings)/len(timings):.2f}s\n\n### Rejected Candidates:\n" + '\n'.join(rejected or ["None"])
116
- return df, file_path, df, retry_report
117
 
118
  description = """# KaosGen: A Fantasy Name Generator
119
  `Kaos` is a small GPT-style transformer (~890k parameters) trained from scratch using character-level tokenization.
 
113
  df[["Generated Name"]].to_csv(file_path, index=False, header=False)
114
 
115
  retry_report = f"## Debug Report\n\n- **Total Retries:** {retry_count - len(results)}\n- **Seed Used:** {seed}\n- **Average Sample Time:** {sum(timings)/len(timings):.2f}s\n\n### Rejected Candidates:\n" + '\n'.join(rejected or ["None"])
116
+ return file_path, file_path, df, retry_report
117
 
118
  description = """# KaosGen: A Fantasy Name Generator
119
  `Kaos` is a small GPT-style transformer (~890k parameters) trained from scratch using character-level tokenization.