Spaces:
Runtime error
Runtime error
python output
Browse files
app.py
CHANGED
@@ -16,5 +16,5 @@ def call_model(prompt):
|
|
16 |
out = banana.run(api_key, model_key, model_parameters)
|
17 |
return out["modelOutputs"][0]["output"]
|
18 |
|
19 |
-
iface = gr.Interface(fn=call_model, inputs="text", outputs=gr.Code(label="Output",lines=20),examples=examples,description=description,title=title)
|
20 |
iface.launch()
|
|
|
16 |
out = banana.run(api_key, model_key, model_parameters)
|
17 |
return out["modelOutputs"][0]["output"]
|
18 |
|
19 |
+
iface = gr.Interface(fn=call_model, inputs="text", outputs=gr.Code(label="Output",lines=20,language="python"),examples=examples,description=description,title=title)
|
20 |
iface.launch()
|