Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,5 +15,5 @@ def chatbot_model(prompt):
|
|
| 15 |
decoded_output = tokenizer.decode(output[:, input_ids.shape[-1]:][0], skip_special_tokens=True)
|
| 16 |
return decoded_output
|
| 17 |
|
| 18 |
-
iface = gr.
|
| 19 |
iface.launch()
|
|
|
|
| 15 |
decoded_output = tokenizer.decode(output[:, input_ids.shape[-1]:][0], skip_special_tokens=True)
|
| 16 |
return decoded_output
|
| 17 |
|
| 18 |
+
iface = gr.ChatInterface(chatbot_model)
|
| 19 |
iface.launch()
|