daqc commited on
Commit
83e974f
1 Parent(s): 87c66f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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":')