Update app.py
Browse files181 unmodified lines182183184185186187188189181 unmodified linesbot_message = strip_citations(f"{strip_md_refs(responsed.choices[0].message.content)}")except Exception as e:bot_message = f"Ошибка: {str(e)}"return history + [[message, bot_message]]# --- Интерфейс ---with gr.Blocks(title="ESP Brain") as demo:181 unmodified lines182183184185186187188189181 unmodified linesbot_message = strip_citations(f"{strip_md_refs(responsed.choices[0].message.content)}")except Exception as e:bot_message = f"Ошибка: {str(e)}"return history + [[message, bot_message]]# --- Интерфейс ---with gr.Blocks(title="ESP Brain") as demo:
app.py+2-2