Spaces:
Runtime error
Runtime error
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="🚨")
|