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