Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -286,12 +286,16 @@ with gr.Blocks(css=css) as demo:
|
|
286 |
inputs=[
|
287 |
generate_pubkey
|
288 |
],
|
289 |
-
|
290 |
-
|
|
|
291 |
)
|
292 |
|
293 |
iface = gr.Interface(
|
294 |
fn=ollamafy_model,
|
|
|
|
|
|
|
295 |
inputs=[
|
296 |
login,
|
297 |
generate_pubkey,
|
@@ -304,7 +308,6 @@ with gr.Blocks(css=css) as demo:
|
|
304 |
maintainer,
|
305 |
],
|
306 |
outputs=[
|
307 |
-
pubkey,
|
308 |
gr.Markdown(label="output"),
|
309 |
gr.Image(show_label=False),
|
310 |
|
|
|
286 |
inputs=[
|
287 |
generate_pubkey
|
288 |
],
|
289 |
+
outputs=[
|
290 |
+
pubkey,
|
291 |
+
],
|
292 |
)
|
293 |
|
294 |
iface = gr.Interface(
|
295 |
fn=ollamafy_model,
|
296 |
+
additional_inputs=[
|
297 |
+
generate_pubkey.click,
|
298 |
+
]
|
299 |
inputs=[
|
300 |
login,
|
301 |
generate_pubkey,
|
|
|
308 |
maintainer,
|
309 |
],
|
310 |
outputs=[
|
|
|
311 |
gr.Markdown(label="output"),
|
312 |
gr.Image(show_label=False),
|
313 |
|