Update app.py
Browse files
app.py
CHANGED
|
@@ -13,9 +13,9 @@ def chatbot_interaction(input_text):
|
|
| 13 |
print("Question:", input_text)
|
| 14 |
response = g4f.ChatCompletion.create(
|
| 15 |
model="gpt-3.5-turbo",
|
| 16 |
-
provider=g4f.Provider.
|
| 17 |
messages=[{"role": "user", "content": input_texxt}],
|
| 18 |
-
stream=
|
| 19 |
)
|
| 20 |
print()
|
| 21 |
print()
|
|
|
|
| 13 |
print("Question:", input_text)
|
| 14 |
response = g4f.ChatCompletion.create(
|
| 15 |
model="gpt-3.5-turbo",
|
| 16 |
+
provider=g4f.Provider.ChatgptAi,
|
| 17 |
messages=[{"role": "user", "content": input_texxt}],
|
| 18 |
+
stream=False,
|
| 19 |
)
|
| 20 |
print()
|
| 21 |
print()
|