Spaces:
Runtime error
Runtime error
Update app.py
#1
by
OdinStef
- opened
app.py
CHANGED
|
@@ -19,6 +19,6 @@ def CustomChatGPT(user_input):
|
|
| 19 |
|
| 20 |
title = "Ask any question."
|
| 21 |
|
| 22 |
-
demo = gr.Interface(fn=CustomChatGPT, title = title, inputs = gr.inputs.Textbox(label = "Question",
|
| 23 |
|
| 24 |
demo.launch()
|
|
|
|
| 19 |
|
| 20 |
title = "Ask any question."
|
| 21 |
|
| 22 |
+
demo = gr.Interface(fn=CustomChatGPT, title = title, inputs = gr.inputs.Textbox(label = "Question", lines = 2, placeholder="E.g. What is the tallest building in the world?"), outputs = gr.outputs.Textbox(label = "Answer"))
|
| 23 |
|
| 24 |
demo.launch()
|