aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md2
-rw-r--r--javascript/progressbar.js4
-rw-r--r--modules/ui.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 21accbf0..50c54210 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
-labels: bug
+labels: bug-report
assignees: ''
---
diff --git a/javascript/progressbar.js b/javascript/progressbar.js
index 20b4dc62..ce0f0df3 100644
--- a/javascript/progressbar.js
+++ b/javascript/progressbar.js
@@ -3,7 +3,7 @@ global_progressbar = null
onUiUpdate(function(){
progressbar = gradioApp().getElementById('progressbar')
- progressDiv = gradioApp().querySelectorAll('.progressDiv').length > 0;
+ progressDiv = gradioApp().querySelectorAll('#progressSpan').length > 0;
interrupt = gradioApp().getElementById('interrupt')
if(progressbar!= null && progressbar != global_progressbar){
global_progressbar = progressbar
@@ -40,7 +40,7 @@ function requestMoreProgress(){
if(btn==null) return;
btn.click();
- progressDiv = gradioApp().querySelectorAll('.progressDiv').length > 0;
+ progressDiv = gradioApp().querySelectorAll('#progressSpan').length > 0;
if(progressDiv){
interrupt.style.display = "block"
}
diff --git a/modules/ui.py b/modules/ui.py
index cbdbfe74..0292b321 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -200,7 +200,7 @@ def check_progress_call():
else:
preview_visibility = gr_show(True)
- return f"<span style='display: none'>{time.time()}</span><p>{progressbar}</p>", preview_visibility, image
+ return f"<span id='progressSpan' style='display: none'>{time.time()}</span><p>{progressbar}</p>", preview_visibility, image
def check_progress_call_initial():