Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,8 @@ import gradio as gr
|
|
| 3 |
import torch
|
| 4 |
|
| 5 |
|
| 6 |
-
title = "
|
| 7 |
-
description = "
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
|
@@ -36,7 +36,7 @@ def predict(input, history=[]):
|
|
| 36 |
return response, history
|
| 37 |
|
| 38 |
|
| 39 |
-
gr.
|
| 40 |
fn=predict,
|
| 41 |
title=title,
|
| 42 |
description=description,
|
|
|
|
| 3 |
import torch
|
| 4 |
|
| 5 |
|
| 6 |
+
title = "Linux ChatBot"
|
| 7 |
+
description = "Helping with Linux."
|
| 8 |
examples = [["How are you?"]]
|
| 9 |
|
| 10 |
|
|
|
|
| 36 |
return response, history
|
| 37 |
|
| 38 |
|
| 39 |
+
gr.ChatInterface(
|
| 40 |
fn=predict,
|
| 41 |
title=title,
|
| 42 |
description=description,
|