Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|
86 |
-
|
|
|
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)
|