Spaces:
Running
Running
Update gradio_app.py
Browse files- gradio_app.py +2 -2
gradio_app.py
CHANGED
@@ -7,8 +7,8 @@ def infer(text_prompt, action_prompt, oauth_token: gr.OAuthToken):
|
|
7 |
|
8 |
|
9 |
inf_client = InferenceClient(
|
10 |
-
provider="
|
11 |
-
|
12 |
)
|
13 |
|
14 |
# output is a PIL.Image object
|
|
|
7 |
|
8 |
|
9 |
inf_client = InferenceClient(
|
10 |
+
provider="fal-ai",
|
11 |
+
api_key=oauth_token.token
|
12 |
)
|
13 |
|
14 |
# output is a PIL.Image object
|