Spaces:
Runtime error
Runtime error
dev(hansbug): fix a bug
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ if __name__ == '__main__':
|
|
| 76 |
def _submit_answer(qs_text: str, api_key: str, uuid_: str):
|
| 77 |
if _need_api_key() and not api_key:
|
| 78 |
return '---', {}, 'Please Enter API Key Before Submitting Question.', \
|
| 79 |
-
gr.Button('Next', interactive=False)
|
| 80 |
|
| 81 |
print(_QUESTION_IDS)
|
| 82 |
_qid = _QUESTION_IDS[uuid_]
|
|
|
|
| 76 |
def _submit_answer(qs_text: str, api_key: str, uuid_: str):
|
| 77 |
if _need_api_key() and not api_key:
|
| 78 |
return '---', {}, 'Please Enter API Key Before Submitting Question.', \
|
| 79 |
+
gr.Button('Next', interactive=False), uuid_
|
| 80 |
|
| 81 |
print(_QUESTION_IDS)
|
| 82 |
_qid = _QUESTION_IDS[uuid_]
|