fffiloni commited on
Commit
cef2d20
·
verified ·
1 Parent(s): 57d9927

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -1
gradio_app.py CHANGED
@@ -7,7 +7,8 @@ from gradio_client import Client, handle_file
7
  def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.OAuthToken):
8
 
9
  print(f"OAuth token: {oauth_token.token}")
10
- print(f"OAuth client secret env: {os.getenv("OAUTH_CLIENT_SECRET")}")
 
11
 
12
  inf_client = InferenceClient(
13
  provider="fal-ai",
 
7
  def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.OAuthToken):
8
 
9
  print(f"OAuth token: {oauth_token.token}")
10
+ client_secret = os.getenv('OAUTH_CLIENT_SECRET')
11
+ print(f"OAuth client secret env: {client_secret}")
12
 
13
  inf_client = InferenceClient(
14
  provider="fal-ai",