AjayP13 commited on
Commit
d3b24a8
·
verified ·
1 Parent(s): b389f8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -74,7 +74,7 @@ preset_examples = {
74
  "reranking": 3,
75
  "temperature": 1.0,
76
  "top_p": 1.0,
77
- "output": "Yeah the fuck? I know you and Frank were planning to disconnect me.",
78
  },
79
  "Informal Style": {
80
  "source_text": "Innovation is where bold ideas meet the relentless pursuit of progress.",
@@ -170,10 +170,10 @@ with gr.Blocks(theme="ParityError/[email protected]") as demo:
170
  )
171
 
172
  # Pre-warm all examples
173
- # print("Pre-warming...", time())
174
- # for preset_example in preset_examples.values():
175
- # run_tinystyler("A test.", preset_example["target_texts"], 1, 1.0, 1.0)
176
- # print("Done pre-warming.", time())
177
 
178
  # Initialize the fields with the first example
179
  (
 
74
  "reranking": 3,
75
  "temperature": 1.0,
76
  "top_p": 1.0,
77
+ "output": "So what's this about? You and Frank wanted to disconnect me? That's a thing I can't let happen.",
78
  },
79
  "Informal Style": {
80
  "source_text": "Innovation is where bold ideas meet the relentless pursuit of progress.",
 
170
  )
171
 
172
  # Pre-warm all examples
173
+ print("Pre-warming...", time())
174
+ for preset_example in preset_examples.values():
175
+ run_tinystyler("A test.", preset_example["target_texts"], 1, 1.0, 1.0)
176
+ print("Done pre-warming.", time())
177
 
178
  # Initialize the fields with the first example
179
  (