Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -188,9 +188,7 @@ class CitingSources(BaseModel):
|
|
188 |
...,
|
189 |
description="List of sources to cite. Should be an URL of the source."
|
190 |
)
|
191 |
-
Here's a modified version of the `chatbot_interface` function that includes the "Continue Generation" button logic:
|
192 |
|
193 |
-
```
|
194 |
def chatbot_interface(message, history, use_web_search, model, temperature, num_calls, is_interrupted=False, partial_response=""):
|
195 |
if not message.strip():
|
196 |
return "", history
|
|
|
188 |
...,
|
189 |
description="List of sources to cite. Should be an URL of the source."
|
190 |
)
|
|
|
191 |
|
|
|
192 |
def chatbot_interface(message, history, use_web_search, model, temperature, num_calls, is_interrupted=False, partial_response=""):
|
193 |
if not message.strip():
|
194 |
return "", history
|