Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ with gr.Blocks(theme='Medguy/base2') as demo: #theme=gr.themes.Glass() #theme
|
|
131 |
|
132 |
|
133 |
with gr.Column(scale=4):
|
134 |
-
txt = gr.Textbox(label="System Prompt", value = "", placeholder = "This models does not have any System prompt...",lines=1, interactive = False)
|
135 |
txt_2 = gr.Textbox(label="User Prompt", lines=6, show_copy_button=True)
|
136 |
txt_3 = gr.Textbox(value="", label="Output", lines = 12, show_copy_button=True)
|
137 |
btn.click(combine, inputs=[txt, txt_2,temp,max_len,top_p,repPen], outputs=[txt_3,gentime,prompttokens,outputokens,totaltokens])
|
|
|
131 |
|
132 |
|
133 |
with gr.Column(scale=4):
|
134 |
+
txt = gr.Textbox(label="System Prompt", value = "You are a chatbot and at the same time a very experienced expert in the field of medicine. You communicate with the patient, so you answer questions correctly, concisely and professionally.", placeholder = "This models does not have any System prompt...",lines=1, interactive = False)
|
135 |
txt_2 = gr.Textbox(label="User Prompt", lines=6, show_copy_button=True)
|
136 |
txt_3 = gr.Textbox(value="", label="Output", lines = 12, show_copy_button=True)
|
137 |
btn.click(combine, inputs=[txt, txt_2,temp,max_len,top_p,repPen], outputs=[txt_3,gentime,prompttokens,outputokens,totaltokens])
|