Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -241,7 +241,7 @@ def chat(message, history):
|
|
| 241 |
ab.append({"role":"assistant","content":I[1]})
|
| 242 |
ab.append({"role":"user","content":message})
|
| 243 |
try:
|
| 244 |
-
raw = agent.invoke(ab)
|
| 245 |
except Exception as e:
|
| 246 |
history=history+[(message,f"μ€λ₯!λ무 λ§μ λνκ° μ¬μ©λμμ΅λλ€.λ΄μΌ λ€μ μλνμμμ€!(μ μ°©μ λν 50κ°!) μ€λ₯ λ©μμ§:{e}")]
|
| 247 |
return history,history,""
|
|
|
|
| 241 |
ab.append({"role":"assistant","content":I[1]})
|
| 242 |
ab.append({"role":"user","content":message})
|
| 243 |
try:
|
| 244 |
+
raw = agent.invoke(ab)
|
| 245 |
except Exception as e:
|
| 246 |
history=history+[(message,f"μ€λ₯!λ무 λ§μ λνκ° μ¬μ©λμμ΅λλ€.λ΄μΌ λ€μ μλνμμμ€!(μ μ°©μ λν 50κ°!) μ€λ₯ λ©μμ§:{e}")]
|
| 247 |
return history,history,""
|