Spaces:
Runtime error
Runtime error
fix output
Browse files
app.py
CHANGED
|
@@ -122,8 +122,8 @@ def run():
|
|
| 122 |
|
| 123 |
if submit_button:
|
| 124 |
|
| 125 |
-
generate_solution(model, tokenizer, question, starter_code, temperature, num_beams)
|
| 126 |
-
st.code(
|
| 127 |
|
| 128 |
|
| 129 |
if __name__=="__main__":
|
|
|
|
| 122 |
|
| 123 |
if submit_button:
|
| 124 |
|
| 125 |
+
output = generate_solution(model, tokenizer, question, starter_code, temperature, num_beams)
|
| 126 |
+
st.code(output, language="python")
|
| 127 |
|
| 128 |
|
| 129 |
if __name__=="__main__":
|