Spaces:
Sleeping
Sleeping
Ajay12345678980
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def generate_answer(question):
|
|
44 |
|
45 |
# Gradio interface setup
|
46 |
interface = gr.Interface(
|
47 |
-
fn=
|
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",
|