Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ for package, version in installed_packages.items():
|
|
14 |
print(f"{package}=={version}")
|
15 |
'''
|
16 |
|
|
|
|
|
17 |
# Load the chatbot model
|
18 |
chatbot_model_name = "microsoft/DialoGPT-medium"
|
19 |
chatbot_tokenizer = AutoTokenizer.from_pretrained(chatbot_model_name)
|
@@ -35,7 +37,6 @@ data = {
|
|
35 |
}
|
36 |
table = pd.DataFrame.from_dict(data)
|
37 |
|
38 |
-
bot_input_ids = None
|
39 |
|
40 |
def chatbot_response(user_message):
|
41 |
# Generate chatbot response using the chatbot model
|
|
|
14 |
print(f"{package}=={version}")
|
15 |
'''
|
16 |
|
17 |
+
bot_input_ids = None
|
18 |
+
|
19 |
# Load the chatbot model
|
20 |
chatbot_model_name = "microsoft/DialoGPT-medium"
|
21 |
chatbot_tokenizer = AutoTokenizer.from_pretrained(chatbot_model_name)
|
|
|
37 |
}
|
38 |
table = pd.DataFrame.from_dict(data)
|
39 |
|
|
|
40 |
|
41 |
def chatbot_response(user_message):
|
42 |
# Generate chatbot response using the chatbot model
|