anychat / app_fireworks.py
hysts's picture
hysts HF staff
Check env variables for API keys
e8fb5c0
raw
history blame
321 Bytes
import os
import fireworks_gradio
from utils import get_app
demo = get_app(
models=[
"f1-preview",
"f1-mini-preview",
],
default_model="f1-preview",
registry=fireworks_gradio.registry,
accept_token=not os.getenv("FIREWORKS_API_KEY"),
)
if __name__ == "__main__":
demo.launch()