Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ class RefinementOutput(BaseModel):
|
|
20 |
|
21 |
class PromptRefiner:
|
22 |
def __init__(self, api_token: str):
|
23 |
-
self.client = InferenceClient(token=api_token, timeout=
|
24 |
self.meta_prompts = {
|
25 |
"morphosis": original_meta_prompt,
|
26 |
"verse": new_meta_prompt,
|
|
|
20 |
|
21 |
class PromptRefiner:
|
22 |
def __init__(self, api_token: str):
|
23 |
+
self.client = InferenceClient(token=api_token, timeout=300)
|
24 |
self.meta_prompts = {
|
25 |
"morphosis": original_meta_prompt,
|
26 |
"verse": new_meta_prompt,
|