Spaces:
Runtime error
Runtime error
Kedreamix
commited on
Commit
•
139b549
1
Parent(s):
2c90f5f
updata
Browse files- app.py +1 -5
- optimizeGoogle.py +0 -1
app.py
CHANGED
@@ -1,18 +1,14 @@
|
|
1 |
-
import numpy as np
|
2 |
import os
|
3 |
import re
|
4 |
import datetime
|
5 |
import arxiv
|
6 |
-
import
|
7 |
import base64, requests
|
8 |
-
import argparse
|
9 |
-
import configparser
|
10 |
import fitz, io, os
|
11 |
from PIL import Image
|
12 |
import gradio as gr
|
13 |
import markdown
|
14 |
import mistune
|
15 |
-
import json
|
16 |
import tiktoken
|
17 |
import concurrent.futures
|
18 |
from optimizeGoogle import chatPaper
|
|
|
|
|
1 |
import os
|
2 |
import re
|
3 |
import datetime
|
4 |
import arxiv
|
5 |
+
import tenacity
|
6 |
import base64, requests
|
|
|
|
|
7 |
import fitz, io, os
|
8 |
from PIL import Image
|
9 |
import gradio as gr
|
10 |
import markdown
|
11 |
import mistune
|
|
|
12 |
import tiktoken
|
13 |
import concurrent.futures
|
14 |
from optimizeGoogle import chatPaper
|
optimizeGoogle.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
"""
|
2 |
A simple wrapper for the official Google GeminiPro API
|
3 |
"""
|
4 |
-
import json
|
5 |
import os
|
6 |
import threading
|
7 |
import time
|
|
|
1 |
"""
|
2 |
A simple wrapper for the official Google GeminiPro API
|
3 |
"""
|
|
|
4 |
import os
|
5 |
import threading
|
6 |
import time
|