Spaces:
Sleeping
Sleeping
Update app.py
Browse files100 unmodified lines101102103104105106107108109110111112113114115100 unmodified linesst.markdown(message["content"])def formattaPrompt(prompt, systemRole, systemStyle, instruction):#Attenzione! Il testo generato deve essere lungo {st.session_state.max_tokens*2} CARATTERIif instruction.startswith("http"):try:with st.spinner("Lettura stile da Drive...") :resp = requests.get(instruction)resp.raise_for_status()instruction = resp.textexcept requests.exceptions.RequestException as e:instruction = ""input_text = f'''{{"input": {{100 unmodified lines101102103104105106100 unmodified linesst.markdown(message["content"])def formattaPrompt(prompt, systemRole, systemStyle, instruction):input_text = f'''{{"input": {{
app.py-9