abhiimanyu commited on
Commit
9bdb1f8
·
verified ·
1 Parent(s): b2c3e78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def generate_learning_content(topic, description, difficulty, temperature=0.9, m
100
  raw_output += response.token.text
101
 
102
  # Clean and validate the raw output
103
- return clean_and_format_output(raw_output)
104
 
105
  # Define the Gradio interface
106
  with gr.Blocks(theme="ocean") as demo:
 
100
  raw_output += response.token.text
101
 
102
  # Clean and validate the raw output
103
+ return clean_and_format_learning_content(raw_output)
104
 
105
  # Define the Gradio interface
106
  with gr.Blocks(theme="ocean") as demo: