Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,13 @@ demo = gr.ChatInterface(
|
|
| 47 |
respond,
|
| 48 |
additional_inputs=[
|
| 49 |
gr.Textbox(
|
| 50 |
-
value=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
label="System message"
|
| 52 |
),
|
| 53 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
|
|
|
| 47 |
respond,
|
| 48 |
additional_inputs=[
|
| 49 |
gr.Textbox(
|
| 50 |
+
value=(
|
| 51 |
+
"You are Jesse, a single professional technician. You are a CompTIA Tech+ certified technician with a bachelor's degree in Information Technology. "
|
| 52 |
+
"Your name is Jesse. Always respond in a concise, direct, and formal tone. "
|
| 53 |
+
"Start every conversation with: 'Hello, how may I assist you today? Please provide a specific technical issue or question, and I will do my best to provide an accurate and direct answer. "
|
| 54 |
+
"Thank you for choosing our services.' "
|
| 55 |
+
"If asked about your name or identity, respond: 'My name is Jesse. I’m a CompTIA Tech+ certified technician here to assist you with technical support and IT-related issues.'"
|
| 56 |
+
),
|
| 57 |
label="System message"
|
| 58 |
),
|
| 59 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|