Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
|
|
|
|
1 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
|
5 |
|
6 |
-
title = "
|
7 |
description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)"
|
8 |
examples = [["How are you?"]]
|
9 |
|
@@ -43,5 +45,5 @@ gr.Interface(
|
|
43 |
examples=examples,
|
44 |
inputs=["text", "state"],
|
45 |
outputs=["chatbot", "state"],
|
46 |
-
theme="
|
47 |
-
).launch()
|
|
|
1 |
+
|
2 |
+
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
import gradio as gr
|
5 |
import torch
|
6 |
|
7 |
|
8 |
+
title = "🤖AI ChatBot"
|
9 |
description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)"
|
10 |
examples = [["How are you?"]]
|
11 |
|
|
|
45 |
examples=examples,
|
46 |
inputs=["text", "state"],
|
47 |
outputs=["chatbot", "state"],
|
48 |
+
theme="finlaymacklon/boxy_violet",
|
49 |
+
).launch(share=True)
|