Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def mostrar_respuesta(pregunta):
|
|
| 108 |
fuente = ""
|
| 109 |
tema = ""
|
| 110 |
|
| 111 |
-
if texto_json.startswith('{'):
|
| 112 |
try:
|
| 113 |
# Busca las posiciones de inicio y fin de cada campo
|
| 114 |
inicio_respuesta = texto_json.find('"respuesta":') + len('"respuesta":')
|
|
|
|
| 108 |
fuente = ""
|
| 109 |
tema = ""
|
| 110 |
|
| 111 |
+
if texto_json.startswith(''''{'''):
|
| 112 |
try:
|
| 113 |
# Busca las posiciones de inicio y fin de cada campo
|
| 114 |
inicio_respuesta = texto_json.find('"respuesta":') + len('"respuesta":')
|