Spaces:
Sleeping
Sleeping
Update app.py
Browse files89 unmodified lines9091929394959697989910010110210310410510689 unmodified linesgeneration_config=generation_config,)# Generar el resultado utilizando el modelo con la instrucci贸n de bullets espec铆ficatry:response = model.generate_content([system_instruction])# Extraer el texto de la respuestagenerated_bullets = response.candidates[0].content.parts[0].text.strip() # Modificado aqu铆# Retornar el resultadoreturn generated_bulletsexcept Exception as e:raise ValueError(f"Error al generar los bullets: {str(e)}")# Configurar la interfaz de usuario con Streamlitst.set_page_config(page_title="Quick Prompt", layout="wide")89 unmodified lines9091929394959697989910010110210310410510689 unmodified linesgeneration_config=generation_config,)# Generar el resultado utilizando el modelo con la instrucci贸n de bullets espec铆ficatry:response = model.generate_content([system_instruction])# Extraer el texto de la respuestagenerated_bullets = response.candidates[0].content.parts[0].text.strip() # Modificado aqu铆# Retornar el resultadoreturn generated_bulletsexcept Exception as e:raise ValueError(f"Error al generar los bullets: {str(e)}")# Configurar la interfaz de usuario con Streamlitst.set_page_config(page_title="Quick Prompt", layout="wide")
app.py+11-11