Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def generate_object_history(object_name):
|
|
99 |
#%% Initialization of tools and AI_Agent
|
100 |
|
101 |
# Initialize HuggingFace Inference Client for text-to-image
|
102 |
-
text_to_image_client = InferenceClient(
|
103 |
|
104 |
def run_text_to_image(prompt: str) -> Image.Image:
|
105 |
outputs = text_to_image_client.text_to_image(prompt)
|
|
|
99 |
#%% Initialization of tools and AI_Agent
|
100 |
|
101 |
# Initialize HuggingFace Inference Client for text-to-image
|
102 |
+
text_to_image_client = InferenceClient("m-ric/text-to-image")
|
103 |
|
104 |
def run_text_to_image(prompt: str) -> Image.Image:
|
105 |
outputs = text_to_image_client.text_to_image(prompt)
|