Spaces:
Runtime error
Runtime error
ImranzamanML
commited on
Commit
•
a490061
1
Parent(s):
378ade9
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ if submit:
|
|
19 |
if query and openai_key:
|
20 |
try:
|
21 |
with right_column.spinner('Processing your query...'):
|
22 |
-
response =
|
23 |
right_column.write(response)
|
24 |
except Exception as e:
|
25 |
right_column.error(f'An error occurred: {e}', icon='🚨')
|
|
|
19 |
if query and openai_key:
|
20 |
try:
|
21 |
with right_column.spinner('Processing your query...'):
|
22 |
+
response = ai_doctor_chat(openai_key, query)
|
23 |
right_column.write(response)
|
24 |
except Exception as e:
|
25 |
right_column.error(f'An error occurred: {e}', icon='🚨')
|