Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ class ChatBot:
|
|
68 |
|
69 |
def predict(self, user_input, system_prompt="You are an expert medical analyst:"):
|
70 |
# Combine user input and system prompt
|
71 |
-
formatted_input = f"
|
72 |
|
73 |
# Encode user input
|
74 |
user_input_ids = tokenizer.encode(formatted_input, return_tensors="pt")
|
|
|
68 |
|
69 |
def predict(self, user_input, system_prompt="You are an expert medical analyst:"):
|
70 |
# Combine user input and system prompt
|
71 |
+
formatted_input = f"{user_input}{system_prompt}"
|
72 |
|
73 |
# Encode user input
|
74 |
user_input_ids = tokenizer.encode(formatted_input, return_tensors="pt")
|