Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,9 @@ def chat(image, text, temperature, length_penalty,
|
|
50 |
|
51 |
|
52 |
history_chat.append(outputs[0]["generated_text"])
|
53 |
-
|
54 |
|
55 |
chat_val = extract_response_pairs(" ".join(history_chat))
|
56 |
-
print(f"chat_val is {chat_val}")
|
57 |
return chat_val, history_chat
|
58 |
|
59 |
|
|
|
50 |
|
51 |
|
52 |
history_chat.append(outputs[0]["generated_text"])
|
53 |
+
|
54 |
|
55 |
chat_val = extract_response_pairs(" ".join(history_chat))
|
|
|
56 |
return chat_val, history_chat
|
57 |
|
58 |
|