app
Browse files
app.py
CHANGED
|
@@ -40,8 +40,7 @@ def chat_fn(message, history, system_message, temperature, top_p, max_tokens):
|
|
| 40 |
partial += delta.content
|
| 41 |
yield partial
|
| 42 |
|
| 43 |
-
with gr.Blocks(title="
|
| 44 |
-
gr.Markdown("# QSFT Chat\nTalk to your HF Inference Endpoint via OpenAI /v1.")
|
| 45 |
system_box = gr.Textbox(
|
| 46 |
label="System prompt",
|
| 47 |
value="You are a helpful assistant.",
|
|
|
|
| 40 |
partial += delta.content
|
| 41 |
yield partial
|
| 42 |
|
| 43 |
+
with gr.Blocks(title="Mangrove Demo") as demo:
|
|
|
|
| 44 |
system_box = gr.Textbox(
|
| 45 |
label="System prompt",
|
| 46 |
value="You are a helpful assistant.",
|