Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ def generate_text(question):
|
|
23 |
return response.split('\nA: ')[-1]
|
24 |
|
25 |
iface = gr.Interface(
|
|
|
26 |
gr.Markdown(title),
|
27 |
gr.Markdown(description),
|
28 |
-
fn=generate_text,
|
29 |
inputs=gr.Textbox(lines=2, placeholder="Enter your prompt here..."),
|
30 |
outputs="text"
|
31 |
)
|
|
|
23 |
return response.split('\nA: ')[-1]
|
24 |
|
25 |
iface = gr.Interface(
|
26 |
+
fn=generate_text,
|
27 |
gr.Markdown(title),
|
28 |
gr.Markdown(description),
|
|
|
29 |
inputs=gr.Textbox(lines=2, placeholder="Enter your prompt here..."),
|
30 |
outputs="text"
|
31 |
)
|