Spaces:
Build error
Build error
Update PanelInterface.py
Browse files- PanelInterface.py +4 -3
PanelInterface.py
CHANGED
|
@@ -93,8 +93,7 @@ def build_interface(respondent_agents_dict, processor_llm):
|
|
| 93 |
with gr.Column():
|
| 94 |
gr.Markdown(ui_texts["footer_html"])
|
| 95 |
|
| 96 |
-
|
| 97 |
-
modal_script = """
|
| 98 |
<script>
|
| 99 |
function showModal(event, id) {
|
| 100 |
event.preventDefault();
|
|
@@ -122,6 +121,8 @@ function showModal(event, id) {
|
|
| 122 |
</script>
|
| 123 |
""" % json.dumps(bios_js_object)
|
| 124 |
|
| 125 |
-
|
|
|
|
|
|
|
| 126 |
return demo
|
| 127 |
|
|
|
|
| 93 |
with gr.Column():
|
| 94 |
gr.Markdown(ui_texts["footer_html"])
|
| 95 |
|
| 96 |
+
modal_script = """
|
|
|
|
| 97 |
<script>
|
| 98 |
function showModal(event, id) {
|
| 99 |
event.preventDefault();
|
|
|
|
| 121 |
</script>
|
| 122 |
""" % json.dumps(bios_js_object)
|
| 123 |
|
| 124 |
+
gr.HTML(modal_script)
|
| 125 |
+
|
| 126 |
+
logging.info("Interface build complete.")
|
| 127 |
return demo
|
| 128 |
|