baconnier commited on
Commit
cdff6ef
1 Parent(s): 5c2e616

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import InferenceClient
5
  import gradio as gr
6
  from pydantic import BaseModel, Field
7
  from typing import Optional, Literal
8
- from huggingface_hub.utils._errors import HfHubHTTPError
9
 
10
  class PromptInput(BaseModel):
11
  text: str = Field(..., description="The initial prompt text")
 
5
  import gradio as gr
6
  from pydantic import BaseModel, Field
7
  from typing import Optional, Literal
8
+ from huggingface_hub.errors import HfHubHTTPError
9
 
10
  class PromptInput(BaseModel):
11
  text: str = Field(..., description="The initial prompt text")