Spaces:
Runtime error
Runtime error
ImranzamanML
commited on
Commit
•
378ade9
1
Parent(s):
58c9522
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ if submit:
|
|
22 |
response = mh_assistant(openai_key, query)
|
23 |
right_column.write(response)
|
24 |
except Exception as e:
|
25 |
-
right_column.error(f'An error occurred: {e}', icon='
|
26 |
else:
|
27 |
right_column.error('Please enter your OpenAI key and Query both!', icon="🚨")
|
|
|
22 |
response = mh_assistant(openai_key, query)
|
23 |
right_column.write(response)
|
24 |
except Exception as e:
|
25 |
+
right_column.error(f'An error occurred: {e}', icon='🚨')
|
26 |
else:
|
27 |
right_column.error('Please enter your OpenAI key and Query both!', icon="🚨")
|