Spaces:
Runtime error
Runtime error
| # frontend/app.py (this repo is PUBLIC) | |
| import os | |
| import gradio as gr | |
| HF_TOKEN = os.environ.get("HF_TOKEN") # set as a secret in frontend Settings | |
| with gr.Blocks() as demo: | |
| # Replace "your-username/private-backend" with the backend repo id | |
| # token=HF_TOKEN lets gradio fetch/load from a private space. | |
| gr.load("sathishaiuse/Salesforce_Generate_Pre_Call_Summary", src="spaces", token=HF_TOKEN) | |
| demo.launch() | |