Spaces:
Runtime error
Runtime error
updated txt.files
Browse files9 unmodified lines101112131415161762 unmodified lines808182838485869 unmodified lines9697989 unmodified linesclient = InferenceClient("Qwen/Qwen2.5-72B-Instruct")#adding text filewith open("be_a_better_you.txt", "r", encoding="utf-8") as file:wellness_text = file.read()#cleaning up the textcleaned_text = wellness_text.strip()62 unmodified linesneutral_hue="pink",)with gr.Blocks(theme=theme) as demo:chatbot = gr.ChatInterface(fn=respond,type='messages',9 unmodified lines9 unmodified lines101112131415161762 unmodified lines808182838485869 unmodified lines969798991001011021031049 unmodified linesclient = InferenceClient("Qwen/Qwen2.5-72B-Instruct")#adding text filewith open("be_a_better_you.txt", "r", encoding="utf-8") as file1, open("journal_prompts.txt", "r", encoding="utf-8") as file2:wellness_text = file1.read() + "\n" + file2.read()#cleaning up the textcleaned_text = wellness_text.strip()62 unmodified linesneutral_hue="pink",)with gr.Blocks(css=custom_css) as demo:chatbot = gr.ChatInterface(fn=respond,type='messages',9 unmodified lines
app.py+9-3