AlaaBo commited on
Commit
ec1a416
·
verified ·
1 Parent(s): 4a4f938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ if user_input:
34
  }
35
 
36
  # Generate a response from the model
37
- response = inference(inputs=user_input, parameters=params)
38
 
39
  # Extract the generated text
40
  bot_response = response[0]['generated_text']
 
34
  }
35
 
36
  # Generate a response from the model
37
+ response = inference(user_input, **params)
38
 
39
  # Extract the generated text
40
  bot_response = response[0]['generated_text']