Kawthar12h commited on
Commit
2c04949
·
verified ·
1 Parent(s): 1c66f5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,7 +1,8 @@
1
 
2
 
3
- import gradio as gr
4
-
 
5
  from bs4 import BeautifulSoup # import BeautifulSoup for parsing HTML & XML documnts
6
  import requests # To make HTTP requests to retrieve web content.
7
 
 
1
 
2
 
3
+ import gradio as gr # import Gradio library for creating web-based user interfaces
4
+ from transformers import pipeline # import pipeline to use pre-trained models
5
+ import torch # import PyTorch library, which is commonly used for Deep Learning tasks
6
  from bs4 import BeautifulSoup # import BeautifulSoup for parsing HTML & XML documnts
7
  import requests # To make HTTP requests to retrieve web content.
8