Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,13 +23,13 @@ def huggingface_chat_history(input, history=[]):
|
|
| 23 |
return chat_response
|
| 24 |
|
| 25 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
| 26 |
-
|
| 27 |
block = gr.Interface(
|
| 28 |
fn=huggingface_chat_history,
|
| 29 |
inputs=[gr.inputs.Textbox(placeholder=conversation_prompt)],
|
| 30 |
outputs=[gr.outputs.Textbox(label="ChatRobo Output")]
|
| 31 |
)
|
| 32 |
|
| 33 |
-
block()
|
|
|
|
| 34 |
|
| 35 |
|
|
|
|
| 23 |
return chat_response
|
| 24 |
|
| 25 |
conversation_prompt = "Welcome to ChatRobo, kindly type in your enquiries: "
|
|
|
|
| 26 |
block = gr.Interface(
|
| 27 |
fn=huggingface_chat_history,
|
| 28 |
inputs=[gr.inputs.Textbox(placeholder=conversation_prompt)],
|
| 29 |
outputs=[gr.outputs.Textbox(label="ChatRobo Output")]
|
| 30 |
)
|
| 31 |
|
| 32 |
+
block.launch()
|
| 33 |
+
|
| 34 |
|
| 35 |
|