Loubna ben allal
commited on
Commit
•
b6ad8c5
1
Parent(s):
b2d10c3
update app
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ elif selected_task == "Code generation":
|
|
95 |
with st.spinner("Generating code..."):
|
96 |
for model in selected_models:
|
97 |
if model != "OPT":
|
98 |
-
st.markdown(f"{
|
99 |
pipe = pipelines[model]
|
100 |
generated_text = pipe(gen_prompt, **gen_kwargs)[0]['generated_text']
|
101 |
st.markdown(f"{model}:")
|
|
|
95 |
with st.spinner("Generating code..."):
|
96 |
for model in selected_models:
|
97 |
if model != "OPT":
|
98 |
+
st.markdown(f"{len(pipelines)} model is {model} keys {pipelines.keys()}:")
|
99 |
pipe = pipelines[model]
|
100 |
generated_text = pipe(gen_prompt, **gen_kwargs)[0]['generated_text']
|
101 |
st.markdown(f"{model}:")
|