Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def display_python_parts():
|
|
245 |
example = "Python script example with mock example inputs for " + part
|
246 |
example_placeholders[part] = example
|
247 |
st.code(example_placeholders[part], language="python")
|
248 |
-
response = chat_with_model('Create
|
249 |
if st.button(f"Take Quiz on {part}", key=f"quiz_{part}"):
|
250 |
quiz = "Python script quiz example with mock example inputs for " + part
|
251 |
response = chat_with_model(quiz, part)
|
|
|
245 |
example = "Python script example with mock example inputs for " + part
|
246 |
example_placeholders[part] = example
|
247 |
st.code(example_placeholders[part], language="python")
|
248 |
+
response = chat_with_model('Create detailed advanced python script code examples for:' + example_placeholders[part], part)
|
249 |
if st.button(f"Take Quiz on {part}", key=f"quiz_{part}"):
|
250 |
quiz = "Python script quiz example with mock example inputs for " + part
|
251 |
response = chat_with_model(quiz, part)
|