bezaime commited on
Commit
ed4e4a3
·
verified ·
1 Parent(s): e35c0de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -67,9 +67,10 @@ rag_chain = (
67
  | StrOutputParser()
68
  )
69
 
 
70
  import gradio as gr
71
 
72
- # Mock for `rag_chain.stream` or similar streaming function
73
  class MockRAGChain:
74
  @staticmethod
75
  def stream(message):
@@ -114,5 +115,4 @@ with gr.Blocks(theme=custom_theme) as demo:
114
 
115
  # Launch the app
116
  if __name__ == "__main__":
117
- demo.launch()
118
-
 
67
  | StrOutputParser()
68
  )
69
 
70
+
71
  import gradio as gr
72
 
73
+ # Mock for rag_chain.stream or similar streaming function
74
  class MockRAGChain:
75
  @staticmethod
76
  def stream(message):
 
115
 
116
  # Launch the app
117
  if __name__ == "__main__":
118
+ demo.launch()