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