AdiOO7 commited on
Commit
5d00781
1 Parent(s): d31936c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -82,7 +82,8 @@ def answer_prompt(text):
82
 
83
  return 'This response is generated by GPT 3.5 Turbo LLM' + '\n' + response['choices'][0]['text']
84
 
85
- iface = gr.Interface(fn=answer_prompt, inputs="text",
86
- outputs="text")
 
87
 
88
  iface.launch(inline=False)
 
82
 
83
  return 'This response is generated by GPT 3.5 Turbo LLM' + '\n' + response['choices'][0]['text']
84
 
85
+ iface = gr.Interface(fn=answer_prompt,
86
+ inputs=gr.Textbox(lines=10, label="Enter Your Issue", css={"font-size":"18px"}),
87
+ outputs=gr.Textbox(lines=10, label="Generated Solution", css={"font-size":"16px"}))
88
 
89
  iface.launch(inline=False)