Update app.py
Browse files
app.py
CHANGED
|
@@ -55,12 +55,12 @@ def generate_response(message, history):
|
|
| 55 |
output = llm(prompt, max_tokens=256, stop=["### Instruction:", "</s>"], echo=False)
|
| 56 |
return output['choices'][0]['text'].strip()
|
| 57 |
|
|
|
|
| 58 |
interface = gr.ChatInterface(
|
| 59 |
fn=generate_response,
|
| 60 |
title="🤖 EMET 2.0 (Live)",
|
| 61 |
description="My custom AI running 24/7 on Hugging Face.",
|
| 62 |
-
examples=["Who created you?", "What is your purpose?"]
|
| 63 |
-
theme="soft"
|
| 64 |
)
|
| 65 |
|
| 66 |
interface.launch()
|
|
|
|
| 55 |
output = llm(prompt, max_tokens=256, stop=["### Instruction:", "</s>"], echo=False)
|
| 56 |
return output['choices'][0]['text'].strip()
|
| 57 |
|
| 58 |
+
|
| 59 |
interface = gr.ChatInterface(
|
| 60 |
fn=generate_response,
|
| 61 |
title="🤖 EMET 2.0 (Live)",
|
| 62 |
description="My custom AI running 24/7 on Hugging Face.",
|
| 63 |
+
examples=["Who created you?", "What is your purpose?"]
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
interface.launch()
|