Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
from transformers import pipeline
|
|
|
|
| 2 |
|
| 3 |
# Load a text-generation model
|
| 4 |
chatbot = pipeline("text-generation", model="microsoft/DialoGPT-medium")
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
+
import gradio as gr # Import Gradio for the interface
|
| 3 |
|
| 4 |
# Load a text-generation model
|
| 5 |
chatbot = pipeline("text-generation", model="microsoft/DialoGPT-medium")
|