Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,8 +17,6 @@ def make_prediction(prompt, max_tokens=None, temperature=None, top_p=None, top_k
|
|
| 17 |
for chunk in completion:
|
| 18 |
yield chunk["choices"][0]["text"]
|
| 19 |
|
| 20 |
-
for chunk in completion:
|
| 21 |
-
yield chunk["choices"][0]["text"]
|
| 22 |
|
| 23 |
def clear_chat(chat_history_state, chat_message):
|
| 24 |
chat_history_state = []
|
|
|
|
| 17 |
for chunk in completion:
|
| 18 |
yield chunk["choices"][0]["text"]
|
| 19 |
|
|
|
|
|
|
|
| 20 |
|
| 21 |
def clear_chat(chat_history_state, chat_message):
|
| 22 |
chat_history_state = []
|