Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ with gr.Blocks() as demo:
|
|
28 |
# GPT-PTZE
|
29 |
This chatbot utilizes a fine-tuned GPT-2 large model from OpenAI to generate contextually relevant responses based on user input. It was trained on large corpus of data from Przegl膮d Elektrotechniczny.""")
|
30 |
chatbot = gr.Chatbot()
|
31 |
-
msg = gr.Textbox(
|
32 |
clear = gr.Button("Clear")
|
33 |
|
34 |
response = msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|
|
|
28 |
# GPT-PTZE
|
29 |
This chatbot utilizes a fine-tuned GPT-2 large model from OpenAI to generate contextually relevant responses based on user input. It was trained on large corpus of data from Przegl膮d Elektrotechniczny.""")
|
30 |
chatbot = gr.Chatbot()
|
31 |
+
msg = gr.Textbox("The most interesting topic in electromagnetic research is", label="Your input")
|
32 |
clear = gr.Button("Clear")
|
33 |
|
34 |
response = msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
|