Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,6 @@ examples = [
|
|
| 155 |
|
| 156 |
print("Creating Gradio interface...")
|
| 157 |
|
| 158 |
-
# Modify the analyze_text function to use the fallback concept map if needed
|
| 159 |
def analyze_text_with_fallback(text, lang):
|
| 160 |
if not text.strip():
|
| 161 |
return "Please enter some text.", "No questions generated.", None
|
|
|
|
| 155 |
|
| 156 |
print("Creating Gradio interface...")
|
| 157 |
|
|
|
|
| 158 |
def analyze_text_with_fallback(text, lang):
|
| 159 |
if not text.strip():
|
| 160 |
return "Please enter some text.", "No questions generated.", None
|