SunderAli17 commited on
Commit
d9dd1aa
1 Parent(s): 3c35e3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -98,6 +98,8 @@ def handle_query(query):
98
 
99
  return response
100
 
 
 
101
  # Example usage: Process PDF ingestion from directory
102
  print("Processing PDF ingestion from directory:", PDF_DIRECTORY)
103
  data_ingestion_from_directory()
@@ -114,7 +116,7 @@ output_component = gr.Textbox()
114
  def chatbot_handler(query):
115
  response = handle_query(query)
116
  return response
117
- @spaces.GPU
118
  # Create the Gradio interface
119
  interface = gr.Interface(
120
  fn=chatbot_handler,
 
98
 
99
  return response
100
 
101
+ @spaces.GPU
102
+
103
  # Example usage: Process PDF ingestion from directory
104
  print("Processing PDF ingestion from directory:", PDF_DIRECTORY)
105
  data_ingestion_from_directory()
 
116
  def chatbot_handler(query):
117
  response = handle_query(query)
118
  return response
119
+
120
  # Create the Gradio interface
121
  interface = gr.Interface(
122
  fn=chatbot_handler,