Update app.py
Browse files10 unmodified lines111213141516171819202122232425262782 unmodified lines11011111211311411510 unmodified linesDESCRIPTION = '''<div><h1 style="text-align: center;">Chat with Llama3-8b</h1><p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/hsramall/hsramall-8b-chat-placeholder"><b>Llama3 8b Chat</b></a> by Meta. Llama3 is Meta’s new open LLM and comes in two sizes: 8b and 70b. Feel free to play with it, or duplicate to run privately!</p><p>🔎 For more details about the Llama3 release and how to use the model with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/llama3">at our blog post</a>.</p><p>🦕 Looking for an even more powerful model? Check out the <b>Hugging Chat</b> integration for Meta Llama 3 70b</p></div>'''PLACEHOLDER = """<div style="opacity: 0.65;"><img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/7dd7659cff2eab51f0f5336f378edfca01dd16fa/gemma_lockup_vertical_full-color_rgb.png" style="width:30%;"><br><b>CodeGemma-7B-IT Chatbot</b></div>"""82 unmodified linescache_examples=False,)if __name__ == "__main__":demo.launch()10 unmodified lines111213141516171819202122232425262728293031323382 unmodified lines11611711811912012112212310 unmodified linesDESCRIPTION = '''<div><h1 style="text-align: center;">Meta Llama3-8B</h1><p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/meta-llama/Llama3-8b-chat"><b>Llama3 8b Chat</b></a> by Meta. Llama3 is Meta’s new open LLM and comes in two sizes: 8b and 70b. Feel free to play with it, or duplicate to run privately!</p><p>🔎 For more details about the Llama3 release and how to use the model with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/llama3">at our blog post</a>.</p><p>🦕 Looking for an even more powerful model? Check out the <a href="https://huggingface.co/chat/"><b>Hugging Chat</b></a> integration for Meta Llama 3 70b</p></div>'''LICENSE = """<p/>---Built with Meta Llama 3"""PLACEHOLDER = """<div style="opacity: 0.65;"><img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/7dd7659cff2eab51f0f5336f378edfca01dd16fa/gemma_lockup_vertical_full-color_rgb.png" style="width:30%;"><br><b>Meta Llama3-8B Chatbot</b></div>"""82 unmodified linescache_examples=False,)gr.Markdown(LICENSE)if __name__ == "__main__":demo.launch()
app.py+12-4