Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,11 @@ logging.basicConfig(
|
|
16 |
if __name__ == "__main__":
|
17 |
try:
|
18 |
# Instantiate the ChatbotInterface class and create the interface
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
demo = chatbot_interface.create_interface()
|
21 |
|
22 |
# Launch the Gradio interface
|
|
|
16 |
if __name__ == "__main__":
|
17 |
try:
|
18 |
# Instantiate the ChatbotInterface class and create the interface
|
19 |
+
model = "gpt-4o-mini",
|
20 |
+
temperature = 0,
|
21 |
+
max_output_tokens = 600,
|
22 |
+
max_num_results = 10,
|
23 |
+
chatbot_interface = ChatbotInterface(model, temperature, max_output_tokens, max_num_results)
|
24 |
demo = chatbot_interface.create_interface()
|
25 |
|
26 |
# Launch the Gradio interface
|