Spaces:
Runtime error
Runtime error
File size: 343 Bytes
ea186b5 9e9c048 69a66ec ea186b5 e9e1c86 69a66ec ea186b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
import os
USERNAME = os.environ.get("USERNAME")
PASSWORD = os.environ.get("PASSWORD")
HF_TOKEN_KEY = os.environ.get("PKNAYAK_HF_TOKEN")
with gr.Blocks() as demo:
gr.Markdown("# Welcome to the TradingGEN ")
gr.load(name="pknayak/newsAI_mvp", hf_token = HF_TOKEN_KEY)
demo.launch(auth=(USERNAME,PASSWORD))
|