Xtramrks / app.py
Joom's picture
update app.py
3c0a0a3
raw
history blame
428 Bytes
import gradio as gr
context = gr.inputs.Textbox(lines=5, placeholder="Enter the relevant theory or context of the questions here")
answer = gr.inputs.Textbox(lines=3, placeholder="Ënter the excpected answer/keyword here" )
#question = [gr.outputs.Textbox(type="auto")for question in final_outputs]
iface = gr.Interface(
fn=generate_question,
inputs=[context,answer],
# outputs=question)
iface.launch(debug=False)