update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,11 @@ import gradio as gr
|
|
3 |
|
4 |
context = gr.inputs.Textbox(lines=5, placeholder="Enter the relevant theory or context of the questions here")
|
5 |
answer = gr.inputs.Textbox(lines=3, placeholder="Ënter the excpected answer/keyword here" )
|
6 |
-
question = [gr.outputs.Textbox(type="auto")for question in final_outputs]
|
7 |
|
8 |
|
9 |
iface = gr.Interface(
|
10 |
fn=generate_question,
|
11 |
inputs=[context,answer],
|
12 |
-
|
13 |
iface.launch(debug=False)
|
|
|
3 |
|
4 |
context = gr.inputs.Textbox(lines=5, placeholder="Enter the relevant theory or context of the questions here")
|
5 |
answer = gr.inputs.Textbox(lines=3, placeholder="Ënter the excpected answer/keyword here" )
|
6 |
+
#question = [gr.outputs.Textbox(type="auto")for question in final_outputs]
|
7 |
|
8 |
|
9 |
iface = gr.Interface(
|
10 |
fn=generate_question,
|
11 |
inputs=[context,answer],
|
12 |
+
# outputs=question)
|
13 |
iface.launch(debug=False)
|