Update app.py
Browse files
app.py
CHANGED
@@ -181,13 +181,11 @@ Settings = [
|
|
181 |
info="Penalize repeated tokens",
|
182 |
)
|
183 |
]
|
184 |
-
user_inputs_with_label = [gr.Markdown("### Settings")] + Settings
|
185 |
-
|
186 |
# Define the chatbot interface with the starting system message as AI Dermatologist
|
187 |
gr.ChatInterface(
|
188 |
fn=generate,
|
189 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, layout="panel"),
|
190 |
-
additional_inputs =
|
191 |
title="AI Dermatologist"
|
192 |
).launch(show_api=False)
|
193 |
|
|
|
181 |
info="Penalize repeated tokens",
|
182 |
)
|
183 |
]
|
|
|
|
|
184 |
# Define the chatbot interface with the starting system message as AI Dermatologist
|
185 |
gr.ChatInterface(
|
186 |
fn=generate,
|
187 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, layout="panel"),
|
188 |
+
additional_inputs = Settings,
|
189 |
title="AI Dermatologist"
|
190 |
).launch(show_api=False)
|
191 |
|