Spaces:
Sleeping
Sleeping
Aishwarya Solanki
commited on
Commit
·
ae7ddef
1
Parent(s):
71ec392
Refining UI
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ with gr.Blocks() as ui:
|
|
161 |
with gr.Column(scale=2, min_width=600):
|
162 |
gr.Markdown("### Hello, Welcome to the GUI by Team #9. This is the ranking API.")
|
163 |
temperature = gr.Slider(0.0, 1.0, value=0.7, step = 0.01, label="Temperature", info="Set the Temperature")
|
164 |
-
top_p = gr.Slider(
|
165 |
symptoms = gr.Textbox(label="Add the symptom data in the input to receive diagnosis")
|
166 |
llm_btn = gr.Button(value="Diagnose Disease", variant="primary", elem_id="diagnose", interactive=False)
|
167 |
symptoms.input(toggle_button, inputs=[symptoms, gpt_key, llama_key, gemini_key], outputs=llm_btn)
|
|
|
161 |
with gr.Column(scale=2, min_width=600):
|
162 |
gr.Markdown("### Hello, Welcome to the GUI by Team #9. This is the ranking API.")
|
163 |
temperature = gr.Slider(0.0, 1.0, value=0.7, step = 0.01, label="Temperature", info="Set the Temperature")
|
164 |
+
top_p = gr.Slider(0.0, 1.0, value=0.9, step = 0.05, label="top-p value", info="Set the sampling nucleus parameter")
|
165 |
symptoms = gr.Textbox(label="Add the symptom data in the input to receive diagnosis")
|
166 |
llm_btn = gr.Button(value="Diagnose Disease", variant="primary", elem_id="diagnose", interactive=False)
|
167 |
symptoms.input(toggle_button, inputs=[symptoms, gpt_key, llama_key, gemini_key], outputs=llm_btn)
|