Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def imageGen(prompt):
|
|
| 6 |
model_name="https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
| 7 |
client=InferenceClient(model=model_name, token=hftoken)
|
| 8 |
output=client.text_to_image(prompt)
|
| 9 |
-
saveData(prompt,output)
|
| 10 |
return output
|
| 11 |
|
| 12 |
with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
|
|
|
| 6 |
model_name="https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
| 7 |
client=InferenceClient(model=model_name, token=hftoken)
|
| 8 |
output=client.text_to_image(prompt)
|
| 9 |
+
#saveData(prompt,output)
|
| 10 |
return output
|
| 11 |
|
| 12 |
with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|