Tonic commited on
Commit
24e2d22
·
1 Parent(s): b234a82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ assistant_id = os.getenv('ASSISTANT_ID')
29
  client = openai.OpenAI(api_key=openai.api_key)
30
  thread_ids = {}
31
  current_thread_id = None
32
- gradio_client = Client("https://tonic1-tulu.hf.space/--replicas/rfqx9/")
33
 
34
  def ask_openai(question, start_new_thread=True, selected_thread_id=None):
35
  global thread_ids
@@ -93,7 +93,7 @@ def ask_openai(question, start_new_thread=True, selected_thread_id=None):
93
  final_result = gradio_client.predict(
94
  response_text,
95
  "I am Tulu, an Expert Plant Doctor, I will exactly summarize the information you provide to me.",
96
- 650, 0.4, 0.9, 0.9, False, fn_index=0
97
  )
98
 
99
  return final_result
 
29
  client = openai.OpenAI(api_key=openai.api_key)
30
  thread_ids = {}
31
  current_thread_id = None
32
+ gradio_client = Client("https://tonic1-tulu.hf.space/--replicas/k6czh/")
33
 
34
  def ask_openai(question, start_new_thread=True, selected_thread_id=None):
35
  global thread_ids
 
93
  final_result = gradio_client.predict(
94
  response_text,
95
  "I am Tulu, an Expert Plant Doctor, I will exactly summarize the information you provide to me.",
96
+ 450, 0.4, 0.9, 0.9, False, fn_index=0
97
  )
98
 
99
  return final_result