Docfile commited on
Commit
4d46301
·
1 Parent(s): 3e46f74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,12 +2,12 @@ import gradio as gr
2
  import g4f
3
 
4
  def chatbot_interaction(input_text):
5
-
6
- response = g4f.ChatCompletion.create(model='gpt-3.5-turbo', provider=g4f.Provider.DfeHub, messages=[{"role": "user", "content":input_text }], stream=False )
7
 
8
 
9
 
10
- print(response)
11
  return "Isa a verrouillé l'espace. "
12
  iface = gr.Interface(
13
  fn=chatbot_interaction,
 
2
  import g4f
3
 
4
  def chatbot_interaction(input_text):
5
+ print(input_text)
6
+ #response = g4f.ChatCompletion.create(model='gpt-3.5-turbo', provider=g4f.Provider.DfeHub, messages=[{"role": "user", "content":input_text }], stream=False )
7
 
8
 
9
 
10
+ #print(response)
11
  return "Isa a verrouillé l'espace. "
12
  iface = gr.Interface(
13
  fn=chatbot_interaction,