Spaces:
Runtime error
Runtime error
import gradio as gr | |
import os | |
title = "LLAMA2" | |
description = "LLAMA2" | |
article = "<p style='text-align: center'>test ...</p>" | |
examples = [ | |
["Test message 1"], | |
["What you can?"], | |
["Гладкая Бореальная низина на северном полушарии занимает 40%"], | |
] | |
gr.load( | |
"huggingface/meta-llama/Llama-2-7b-chat-hf", | |
inputs=gr.Textbox(lines=5, label="Входной текст"), | |
title=title, | |
description=description, | |
article=article, | |
examples=examples, | |
enable_queue=True, | |
api_key=os.getenv('api_key') | |
).launch() |