Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ if user_input:
|
|
| 34 |
}
|
| 35 |
|
| 36 |
# Generate a response from the model
|
| 37 |
-
response = inference(
|
| 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']
|