Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 5 |
gr.Markdown("# Inference Provider")
|
| 6 |
gr.Markdown("This Space showcases the multimodalart/trained-flux model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
|
| 7 |
button = gr.LoginButton("Sign in")
|
| 8 |
-
gr.load("models/multimodalart/trained-flux", accept_token=button, provider="hf-inference")
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
gr.Markdown("# Inference Provider")
|
| 6 |
gr.Markdown("This Space showcases the multimodalart/trained-flux model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
|
| 7 |
button = gr.LoginButton("Sign in")
|
|
|
|
| 8 |
|
| 9 |
+
gr.load("models/multimodalart/trained-flux", accept_token=button, provider="hf-inference")
|
| 10 |
+
|
| 11 |
+
# Correct method call
|
| 12 |
+
demo.launch(share=True)
|