Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,8 +87,6 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as chatbot:
|
|
| 87 |
)
|
| 88 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 89 |
answer = gr.Textbox(label="Writing Tutor Response", placeholder="Writing Tutor will respond here...", interactive=False, lines=10)
|
| 90 |
-
submit_button = gr.Button("Submit")
|
| 91 |
-
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 92 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
| 93 |
|
| 94 |
chatbot.launch()
|
|
|
|
| 87 |
)
|
| 88 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 89 |
answer = gr.Textbox(label="Writing Tutor Response", placeholder="Writing Tutor will respond here...", interactive=False, lines=10)
|
|
|
|
|
|
|
| 90 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
| 91 |
|
| 92 |
chatbot.launch()
|