Moha782 commited on
Commit
08a0021
·
verified ·
1 Parent(s): f9fbf14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -1,11 +1,6 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from transformers import RagTokenizer, RagRetriever
4
- import datasets
5
-
6
- # Allow the library to execute remote code
7
- datasets.utils.disable_progress_bar()
8
- datasets.config.TRUST_REMOTE_CODE = True
9
 
10
  """
11
  For more information on huggingface_hub Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from transformers import RagTokenizer, RagRetriever
 
 
 
 
 
4
 
5
  """
6
  For more information on huggingface_hub Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference