ahmedheakl commited on
Commit
7d288f7
·
verified ·
1 Parent(s): a925cf6

Upload folder using huggingface_hub

Browse files
__pycache__/chat_interface.cpython-311.pyc CHANGED
Binary files a/__pycache__/chat_interface.cpython-311.pyc and b/__pycache__/chat_interface.cpython-311.pyc differ
 
chat_interface.py CHANGED
@@ -340,7 +340,6 @@ class ChatInterface(Blocks):
340
  examples=self.examples_messages
341
  if not self._additional_inputs_in_examples
342
  else None,
343
- rtl=True,
344
  )
345
  with Group():
346
  with Row():
 
340
  examples=self.examples_messages
341
  if not self._additional_inputs_in_examples
342
  else None,
 
343
  )
344
  with Group():
345
  with Row():
gradio_app.py CHANGED
@@ -78,7 +78,7 @@ def load_chat(
78
  response += chunk.choices[0].delta.content
79
  yield response
80
 
81
- return ChatInterface(
82
  open_api_stream, type="messages", **kwargs,
83
  )
84
 
 
78
  response += chunk.choices[0].delta.content
79
  yield response
80
 
81
+ return gr.ChatInterface(
82
  open_api_stream, type="messages", **kwargs,
83
  )
84