Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
| 18 |
MAX_IMAGE_SIZE = 1024
|
| 19 |
|
| 20 |
# Initialize text encoder client ONCE at module level to avoid thread exhaustion
|
| 21 |
-
text_encoder_client = Client("
|
| 22 |
|
| 23 |
def remote_text_encoder(prompts):
|
| 24 |
result = text_encoder_client.predict(
|
|
|
|
| 18 |
MAX_IMAGE_SIZE = 1024
|
| 19 |
|
| 20 |
# Initialize text encoder client ONCE at module level to avoid thread exhaustion
|
| 21 |
+
text_encoder_client = client = Client("Gemini899/mistral-text-encoder")
|
| 22 |
|
| 23 |
def remote_text_encoder(prompts):
|
| 24 |
result = text_encoder_client.predict(
|