Spaces:
Running
Running
Update gradio_app.py
Browse files- gradio_app.py +0 -2
gradio_app.py
CHANGED
@@ -11,8 +11,6 @@ def infer(text_prompt, action_prompt, profile: gr.OAuthProfile, oauth_token: gr.
|
|
11 |
client_secret = os.getenv('OAUTH_CLIENT_SECRET')
|
12 |
print(f"OAuth client secret env: {client_secret}")
|
13 |
|
14 |
-
manual_token = os.getenv('TOKEN_TO_INFER_API')
|
15 |
-
|
16 |
inf_client = InferenceClient(
|
17 |
provider="fal-ai",
|
18 |
api_key=manual_token
|
|
|
11 |
client_secret = os.getenv('OAUTH_CLIENT_SECRET')
|
12 |
print(f"OAuth client secret env: {client_secret}")
|
13 |
|
|
|
|
|
14 |
inf_client = InferenceClient(
|
15 |
provider="fal-ai",
|
16 |
api_key=manual_token
|