Ajay12345678980 commited on
Commit
2e257e4
·
verified ·
1 Parent(s): b231aba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def generate_answer(question):
44
 
45
  # Gradio interface setup
46
  interface = gr.Interface(
47
- fn=predict,
48
  inputs="text",
49
  outputs="text",
50
  title="GPT-2 Text Generation",
 
44
 
45
  # Gradio interface setup
46
  interface = gr.Interface(
47
+ fn=generate_answer,
48
  inputs="text",
49
  outputs="text",
50
  title="GPT-2 Text Generation",