Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import g4f
|
|
| 3 |
|
| 4 |
def chatbot_interaction(input_text):
|
| 5 |
print(input_text)
|
| 6 |
-
response = g4f.ChatCompletion.create(model='gpt-
|
| 7 |
|
| 8 |
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
def chatbot_interaction(input_text):
|
| 5 |
print(input_text)
|
| 6 |
+
response = g4f.ChatCompletion.create(model='gpt-4', provider=g4f.Provider.ChatgptAi, messages=[{"role": "user", "content":input_text }], stream=False )
|
| 7 |
|
| 8 |
|
| 9 |
|