File size: 426 Bytes
efbc467
 
b2768fc
 
 
efbc467
 
3c0a0a3
efbc467
 
 
b2768fc
e3346c0
efbc467
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr

def hi():
    return "hello"
    
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 = hi,
    inputs=[context,answer],)
iface.launch(debug=False)