Sayiqa commited on
Commit
dc005f3
·
verified ·
1 Parent(s): 9db2c3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -240,7 +240,7 @@ text_to_image.enable_attention_slicing()
240
  text_to_image.safety_checker = None
241
  text_to_image.scheduler = DPMSolverMultistepScheduler.from_config(text_to_image.scheduler.config)
242
 
243
- # Load question-answering model
244
  qa_pipeline = pipeline("question-answering", model="distilbert-base-uncased-distilled-squad")
245
 
246
  # Preprocess audio file into NumPy array
@@ -355,3 +355,4 @@ iface.launch(debug=True, share=True)
355
 
356
 
357
 
 
 
240
  text_to_image.safety_checker = None
241
  text_to_image.scheduler = DPMSolverMultistepScheduler.from_config(text_to_image.scheduler.config)
242
 
243
+ # Load question-answering model (DistilBERT for factual answers)
244
  qa_pipeline = pipeline("question-answering", model="distilbert-base-uncased-distilled-squad")
245
 
246
  # Preprocess audio file into NumPy array
 
355
 
356
 
357
 
358
+