Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ def chat(text):
|
|
| 7 |
result= pipe.generate(text)
|
| 8 |
return result
|
| 9 |
|
| 10 |
-
with gr.
|
| 11 |
with gr.Row():
|
| 12 |
user_input = gr.Textbox(placeholder="Type your message here...", label="Your Message", lines=2)
|
| 13 |
|
|
|
|
| 7 |
result= pipe.generate(text)
|
| 8 |
return result
|
| 9 |
|
| 10 |
+
with gr.Blocks(title='Basic chatbot based on gpt2') as demo:
|
| 11 |
with gr.Row():
|
| 12 |
user_input = gr.Textbox(placeholder="Type your message here...", label="Your Message", lines=2)
|
| 13 |
|