Spaces:
Running
Running
Update models.py
Browse files
models.py
CHANGED
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
hf_api_key = os.getenv("HF_API_KEY")
|
2 |
login(token=hf_api_key)
|
3 |
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import openai
|
3 |
+
import fitz # PyMuPDF
|
4 |
+
import torch
|
5 |
+
from transformers import pipeline, BloomForCausalLM, BloomTokenizerFast
|
6 |
+
from huggingface_hub import login
|
7 |
+
import requests
|
8 |
+
import os
|
9 |
+
|
10 |
hf_api_key = os.getenv("HF_API_KEY")
|
11 |
login(token=hf_api_key)
|
12 |
|