dhmeltzer commited on
Commit
3979c35
·
1 Parent(s): 5c5e4e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,10 +34,10 @@ if user_input:
34
  output = query(checkpoint,{
35
  "inputs": user_input,
36
  "temperature":temperature,
37
- "wait_for_model":True})[0][0]['generated_text']
38
 
39
  model_name = checkpoints.split('/')[1]
40
- st.write(f'Model {model_name}: output')
41
 
42
 
43
  #if __name__ == "__main__":
 
34
  output = query(checkpoint,{
35
  "inputs": user_input,
36
  "temperature":temperature,
37
+ "wait_for_model":True})
38
 
39
  model_name = checkpoints.split('/')[1]
40
+ st.write(f'Model {model_name}: {output}')
41
 
42
 
43
  #if __name__ == "__main__":