Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
respond,
|
| 48 |
additional_inputs=[
|
| 49 |
-
gr.Textbox(value = "You are a good
|
| 50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 51 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 52 |
gr.Slider(
|
|
@@ -59,11 +59,11 @@ demo = gr.ChatInterface(
|
|
| 59 |
],
|
| 60 |
|
| 61 |
examples = [
|
| 62 |
-
["I feel
|
| 63 |
-
["Can you guide me
|
| 64 |
-
["How do I
|
| 65 |
],
|
| 66 |
-
title = '
|
| 67 |
)
|
| 68 |
|
| 69 |
|
|
|
|
| 46 |
demo = gr.ChatInterface(
|
| 47 |
respond,
|
| 48 |
additional_inputs=[
|
| 49 |
+
gr.Textbox(value = "You are a good presenter. You advise study material, suggest study schedule, and guide through steps to manage stress. Discuss what's your goal, or ask me about my track of study.", label="System message"),
|
| 50 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 51 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 52 |
gr.Slider(
|
|
|
|
| 59 |
],
|
| 60 |
|
| 61 |
examples = [
|
| 62 |
+
["I feel positive about my studies."],
|
| 63 |
+
["Can you guide me about my carrer options?"],
|
| 64 |
+
["How do I ignore the negative facts and remain positive?"]
|
| 65 |
],
|
| 66 |
+
title = 'Focus on your goals❤️🕊️'
|
| 67 |
)
|
| 68 |
|
| 69 |
|