Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,8 +35,9 @@ def main(question):
|
|
35 |
"You are an AI language model and must return truthful responses as per the information below\n ##Input: Information: Your name is Southampton GPT. You are a helpful and truthful chatbot. You can help answer any questions about the Southampton University." +information+question, # str in 'Type an input and press Enter' Textbox component
|
36 |
0.8,
|
37 |
0.9,
|
38 |
-
fn_index=
|
39 |
)
|
|
|
40 |
print(answer)
|
41 |
temp=json.load(open(answer))
|
42 |
print(temp)
|
|
|
35 |
"You are an AI language model and must return truthful responses as per the information below\n ##Input: Information: Your name is Southampton GPT. You are a helpful and truthful chatbot. You can help answer any questions about the Southampton University." +information+question, # str in 'Type an input and press Enter' Textbox component
|
36 |
0.8,
|
37 |
0.9,
|
38 |
+
fn_index=3
|
39 |
)
|
40 |
+
n_conv+=1
|
41 |
print(answer)
|
42 |
temp=json.load(open(answer))
|
43 |
print(temp)
|