Docfile commited on
Commit
368e9b7
·
1 Parent(s): 013b354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -9,8 +9,10 @@ def chatbot_interaction(input_text):
9
  print(input_text)
10
  response = g4f.ChatCompletion.create(
11
  model="gpt-3.5-turbo",
12
- messages=[{"role": "user", "content":input_texxt}],
13
- stream=False,)
 
 
14
  print(response)
15
  return response
16
  iface = gr.Interface(
 
9
  print(input_text)
10
  response = g4f.ChatCompletion.create(
11
  model="gpt-3.5-turbo",
12
+ provider=g4f.Provider.Opchatgpts,
13
+ messages=[{"role": "user", "content": input_texxt}],
14
+ stream=False,
15
+ )
16
  print(response)
17
  return response
18
  iface = gr.Interface(