Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def show_non_tech_question():
|
|
81 |
def next_non_tech_question():
|
82 |
global current_non_tech_index
|
83 |
current_non_tech_index = (current_non_tech_index + 1) % len(non_technical_questions)
|
84 |
-
return non_technical_questions[current_non_tech_index],
|
85 |
|
86 |
# Question navigation (tech)
|
87 |
def show_tech_question():
|
@@ -91,7 +91,7 @@ def show_tech_question():
|
|
91 |
def next_tech_question():
|
92 |
global current_tech_index
|
93 |
current_tech_index = (current_tech_index + 1) % len(technical_questions)
|
94 |
-
return technical_questions[current_tech_index],
|
95 |
|
96 |
# Transcribe + analyze (non-technical)
|
97 |
def transcribe_and_analyze_non_tech(audio, question):
|
|
|
81 |
def next_non_tech_question():
|
82 |
global current_non_tech_index
|
83 |
current_non_tech_index = (current_non_tech_index + 1) % len(non_technical_questions)
|
84 |
+
return non_technical_questions[current_non_tech_index], "", ""
|
85 |
|
86 |
# Question navigation (tech)
|
87 |
def show_tech_question():
|
|
|
91 |
def next_tech_question():
|
92 |
global current_tech_index
|
93 |
current_tech_index = (current_tech_index + 1) % len(technical_questions)
|
94 |
+
return technical_questions[current_tech_index], "", "", ""
|
95 |
|
96 |
# Transcribe + analyze (non-technical)
|
97 |
def transcribe_and_analyze_non_tech(audio, question):
|