Spaces:
Running
Running
Update gradio_app.py
Browse files- 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 |
-
|
|
|
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",
|