cbensimon HF staff commited on
Commit
13b83ef
1 Parent(s): dc791b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -21,7 +21,6 @@ def model_inference(
21
  input_dict, history, decoding_strategy, temperature, max_new_tokens,
22
  repetition_penalty, top_p, progress=gr.Progress(track_tqdm=True)
23
  ):
24
- yield "Processing ..."
25
 
26
  t0 = time.perf_counter()
27
  text = input_dict["text"]
@@ -79,7 +78,7 @@ def model_inference(
79
  thread.start()
80
  # thread.join()
81
 
82
- yield "Thinking ..."
83
 
84
  buffer = ""
85
 
 
21
  input_dict, history, decoding_strategy, temperature, max_new_tokens,
22
  repetition_penalty, top_p, progress=gr.Progress(track_tqdm=True)
23
  ):
 
24
 
25
  t0 = time.perf_counter()
26
  text = input_dict["text"]
 
78
  thread.start()
79
  # thread.join()
80
 
81
+ yield ""
82
 
83
  buffer = ""
84