Add application file
Browse files
app.py
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
title = 'clyde'
|
| 3 |
+
text_ = "Che: Hey, are you done with POC?
|
| 4 |
+
Ayo No not yet
|
| 5 |
+
Ayo: I am currently building a front end for it.
|
| 6 |
+
Ayo: Give me a few days
|
| 7 |
+
Ayo:I will put it together
|
| 8 |
+
Che: Damn, hope it will not take too long
|
| 9 |
+
Ayo: No
|
| 10 |
+
Che: If you say so..
|
| 11 |
+
Che: Keep me updated
|
| 12 |
+
Ayo: Okay🙂
|
| 13 |
+
Che: Not happy, but it’s alright
|
| 14 |
+
Che: Bye
|
| 15 |
+
Ayo: Bye bye "
|
| 16 |
+
interface = gr.Interface.load("huggingface/Ayoola/clyde",
|
| 17 |
+
title = title,
|
| 18 |
+
theme = "peach",
|
| 19 |
+
examples = [[text_]]).launch()
|