File size: 424 Bytes
e3656b2
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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()