use the new auto providers from latest huggingface_hub version 0.31.0
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -10,7 +10,7 @@ def infer(text_prompt, action_prompt, oauth_token: gr.OAuthToken):
|
|
10 |
gradio_auth_token = oauth_token.token
|
11 |
|
12 |
inf_client = InferenceClient(
|
13 |
-
provider="
|
14 |
api_key=gradio_auth_token
|
15 |
)
|
16 |
|
|
|
10 |
gradio_auth_token = oauth_token.token
|
11 |
|
12 |
inf_client = InferenceClient(
|
13 |
+
provider="auto",
|
14 |
api_key=gradio_auth_token
|
15 |
)
|
16 |
|