Spaces:
Runtime error
Runtime error
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", | |
src="spaces", | |
hf_token = HF_TOKEN_KEY) | |
demo.launch(auth=(USERNAME,PASSWORD)) |