Spaces:
Paused
Paused
Download app.py from BulatF/llama_easy_test: direct link, hf CLI and curl.
- Browser
- Download file 140 Bytes
-
https://huggingface.co/spaces/BulatF/llama_easy_test/resolve/main/app.py
- Command line
-
hf download hf://spaces/BulatF/llama_easy_test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/BulatF/llama_easy_test/resolve/main/app.py
140 Bytes
| import gradio as gr | |
| import os | |
| api_key = os.environ.get('api_key') | |
| gr.load("models/meta-llama/Llama-2-7b-chat-hf", api_key=api_key).launch() |